UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#82452#778. 坐火车matthew991005072ms237212kbC++113.7kb2019-10-27 06:59:472019-10-27 11:39:23

answer


详细

小提示:点击横条可展开更详细的信息

Test #1:

score: 10
Accepted
time: 6ms
memory: 5672kb

input:

300
16491861 112799787 130054413 132955141 179945372 205051374 224532469 244008256 271200557 2755748...

output:

736891450.000000000000000
656158992.000000000000000
672519896.399999976158142
736891450.000000000000...

result:

ok ok

Test #2:

score: 10
Accepted
time: 13ms
memory: 7836kb

input:

5000
999648937 995776307 995479492 991924884 989245120 988983280 977449726 986358027 985692489 97742...

output:

621610188.331506848335266
801752842.502958536148071
699827630.858156085014343
801752842.502958536148...

result:

ok ok

Test #3:

score: 10
Accepted
time: 16ms
memory: 7836kb

input:

5000
11525481 14413473 15148513 17274995 21423855 37087932 38877343 40755121 48342940 49207902 52197...

output:

503603693.038387715816498
619577056.750000000000000
709966716.134782552719116
709966716.134782552719...

result:

ok ok

Test #4:

score: 10
Accepted
time: 148ms
memory: 237212kb

input:

500000
999987786 999981823 999972902 999967226 999965432 999961752 999957903 999951301 999933221 999...

output:

713338499.000000000000000
613376941.666666626930237
500362539.157008051872253
750051021.558190345764...

result:

ok ok

Test #5:

score: 10
Accepted
time: 141ms
memory: 235284kb

input:

500000
630 986 20788 26240 37767 81896 107031 84864 115845 111056 168572 247003 255594 272579 312225...

output:

989096690.345559835433960
621159198.814550161361694
585048429.454545497894287
989096690.345559835433...

result:

ok ok

Test #6:

score: 10
Accepted
time: 819ms
memory: 233124kb

input:

500000
3844 37135 18319 91268 103562 198699 117892 279797 295381 306297 309389 369155 336045 417091 ...

output:

588416668.000000000000000
660858295.009498476982117
598942413.899999976158142
660858295.009498476982...

result:

ok ok

Test #7:

score: 10
Accepted
time: 757ms
memory: 236864kb

input:

500000
999965810 999948619 999909021 999874646 999863373 999853181 999827830 999779274 999774999 999...

output:

3008.000000000000000
704118554.500000000000000
704118554.500000000000000
702779801.648473024368286
3...

result:

ok ok

Test #8:

score: 10
Accepted
time: 1016ms
memory: 235196kb

input:

500000
32493 292208 296307 319236 332905 356947 362402 400822 404464 453278 456502 529010 535751 611...

output:

699110817.140269994735718
522573319.798820376396179
707869788.138725757598877
707869788.138725757598...

result:

ok ok

Test #9:

score: 10
Accepted
time: 1092ms
memory: 236012kb

input:

500000
999886042 999828290 999791336 999740879 999737981 999634091 999589221 999552056 999540844 999...

output:

994321828.353448271751404
994321828.353448271751404
684456364.629667639732361
684456364.629667639732...

result:

ok ok

Test #10:

score: 10
Accepted
time: 1064ms
memory: 234992kb

input:

500000
999825880 999791484 999725831 999440440 999238308 999207123 999200351 998776641 998612474 998...

output:

501745648.086583554744720
988381374.617391347885132
629129485.608203053474426
988381374.617391347885...

result:

ok ok

Extra Test:

score: 0
Extra Test Passed