imesecan | Apr.13.2013 at 01:03:31 PM
|
0 | Сообщение скрыто
|
imesecan | Apr.13.2013 at 01:18:37 PM | |
1 | I think you have precision problem, Use double not float.
|
imesecan | Apr.13.2013 at 01:57:11 PM
|
2 | Сообщение скрыто
|
imesecan | Apr.13.2013 at 02:03:35 PM | |
3 | No, The number is very large, the precision is ">0.9".
|
imesecan | Apr.13.2013 at 02:06:03 PM | |
4 | As I said before "Use double not float"
|
imesecan | Apr.13.2013 at 02:34:37 PM
|
5 | Сообщение скрыто
|
imesecan | Apr.13.2013 at 02:36:32 PM
|
6 | Сообщение скрыто
|
imesecan | Apr.13.2013 at 02:42:55 PM | |
7 | Here 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
|
imesecan | Apr.13.2013 at 03:33:54 PM
|
8 | Сообщение скрыто
|
imesecan | Apr.13.2013 at 03:48:00 PM | |
9 | Please 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};
???
|