HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Forums > Discussion of problems > topic:


Problem "Variance of a series"

There is a contest!

В настоящий момент идёт турнир. Некоторая информация и функции сервера недоступны до его окончания.

imesecanApr.13.2013 at 01:03:31 PM
0Сообщение скрыто

imesecanApr.13.2013 at 01:18:37 PM
1
(0: qwerty)
I think you have precision problem,
Use double not float.

imesecanApr.13.2013 at 01:57:11 PM
2Сообщение скрыто

imesecanApr.13.2013 at 02:03:35 PM
3
(2: TOD11)
No, The number is very large, the precision is ">0.9".

imesecanApr.13.2013 at 02:06:03 PM
4
(2: TOD11)
As I said before
"Use double not float"

imesecanApr.13.2013 at 02:34:37 PM
5Сообщение скрыто

imesecanApr.13.2013 at 02:36:32 PM
6Сообщение скрыто

imesecanApr.13.2013 at 02:42:55 PM
7Here is the first test.
---------- input.txt ----------
20
13
168
179
32
40
77
98
66
98
116
57
181
17
50
116
90
49
17
172
194

----------Expected pattern.txt ----------
3441.350

imesecanApr.13.2013 at 03:33:54 PM
8Сообщение скрыто

imesecanApr.13.2013 at 03:48:00 PM
9Please pay attention to the limits.
The question says there are at most 5000 elements and each of them between 1 and 3000. 1 <= xi <= 3000 and 1 <= n <= 5000.

But Some of you reserve
int n, x[3000]={0};

???


www.contester.ru