Идёт турнир! | В настоящий момент идёт турнир. Некоторая информация и функции сервера недоступны до его окончания.
|
|
| imesecan | 16.мар.2013 в 12:23:34 | |
| 0 | The pow(double, double); function requires doubles, when you use with ints, the system gives errors.
either you can write your own function or you can simple say num*num when you want to calculate the square of a number.
|
| imesecan | 16.мар.2013 в 12:32:09
| | 1 | Сообщение скрыто
|
| imesecan | 16.мар.2013 в 12:35:29 | |
| 2 | Try your programs with max limits defined in the question. Check if it still produces the correct result.
|
| imesecan | 16.мар.2013 в 12:40:41
| | 3 | Сообщение скрыто
|
| imesecan | 16.мар.2013 в 12:47:04 | |
| 4 | Don't use int, try using the data type long long
|
| imesecan | 16.мар.2013 в 12:48:42
| | 5 | Сообщение скрыто
|
| imesecan | 16.мар.2013 в 12:53:47
| | 6 | Сообщение скрыто
|
| imesecan | 16.мар.2013 в 12:55:17
| | 7 | Сообщение скрыто
|
| imesecan | 16.мар.2013 в 12:59:20 | |
| 8 | See the limits clearly,
1 <= n <= 35000.
???
|
|