|
Apr
3 |
|
revised |
how to delete two-dimentional double array added answer |
|
Apr
3 |
|
asked | how to delete two-dimentional double array |
|
Apr
2 |
|
accepted | C++ casting static two-dimensional double array to double** |
|
Apr
2 |
|
comment |
C++ casting static two-dimensional double array to double** That won't work in my case. Array may have size, for example, 100x100. And I won't write {m[0],m[1],m[2], ..., m[99]}; in my code :)
|
|
Apr
2 |
|
revised |
C++ casting static two-dimensional double array to double** modifing question |
|
Apr
2 |
|
asked | C++ casting static two-dimensional double array to double** |
|
Jan
10 |
|
comment |
IntelliSense: no operator "+" matches these operands Can't you just replace + with << ?
|
|
Jan
6 |
|
accepted | inserting Silverlight app into Symfony 1.4 layout |
|
Jan
5 |
|
comment |
inserting Silverlight app into Symfony 1.4 layout @1ed - thanks, that was the issue! What a dumb question I asked :). Could you post that as a full answer? I'll accept that and topic will be closed. |
|
Jan
5 |
|
asked | inserting Silverlight app into Symfony 1.4 layout |
|
Dec
4 |
|
comment |
Calculate the sum of series $\sum\limits_{i=0}^{n-1} i2^i$ $ 2^1 + 2^2 + ... + 2^n = \sum\limits_{i=1}^{n}(2^i) = \sum\limits_{i=0}^{n}(2^i) - 1 = (2^{n+1} -1) - 1 = 2^{n+1}-2$. And after putting this into final formula, I have $S-2S = 2^{n+1}-2 - n2^n$, so finally $ S = n2^n - 2^{n+1} + 2 = 2^n(n-2) + 2$ |
|
Dec
4 |
|
awarded | Supporter |
|
Dec
4 |
|
accepted | Calculate the sum of series $\sum\limits_{i=0}^{n-1} i2^i$ |
|
Dec
4 |
|
comment |
Calculate the sum of series $\sum\limits_{i=0}^{n-1} i2^i$ I still think that there is a small mistake in your calculations (I have $(2^1 + 2^2 + ... + 2^{n-1} + 2^n) - n*2^n$), but the final answer is the same. Thanks a lot for your efford! |
|
Dec
4 |
|
comment |
Calculate the sum of series $\sum\limits_{i=0}^{n-1} i2^i$ @anorton - okay, I'll remember about that in the future. It's part of algorithmic exercise, so $i$ stands for iterator, like in C++. |
|
Dec
4 |
|
comment |
Calculate the sum of series $\sum\limits_{i=0}^{n-1} i2^i$ Did I miss something, or you forgot about $-2^n$ from $(n-1)*2^n$ multiplication? |
|
Dec
4 |
|
asked | Calculate the sum of series $\sum\limits_{i=0}^{n-1} i2^i$ |
|
Dec
2 |
|
accepted | Linux: permission to read file from /sys/kernel/debug wihout root privileges |
|
Nov
24 |
|
comment |
Linux: permission to read file from /sys/kernel/debug wihout root privileges I'd love to, but I don't have 15 rep :( |
|
Nov
24 |
|
awarded | Scholar |