UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#83424#778. 坐火车ZHANG1003664ms59868kbC++113.8kb2019-10-30 12:08:432019-10-30 12:08:44

answer


详细

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

Test #1:

score: 10
Accepted
time: 0ms
memory: 1324kb

input:

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

output:

736891450.00000000000
656158992.00000000000
672519896.39999997616
736891450.00000000000
656158992.00...

result:

ok ok

Test #2:

score: 10
Accepted
time: 10ms
memory: 1736kb

input:

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

output:

621610188.33150684834
801752842.50295853615
699827630.85815608501
801752842.50295853615
880897532.14...

result:

ok ok

Test #3:

score: 10
Accepted
time: 7ms
memory: 1824kb

input:

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

output:

503603693.03838771582
619577056.75000000000
709966716.13478255272
709966716.13478255272
709966716.13...

result:

ok ok

Test #4:

score: 10
Accepted
time: 40ms
memory: 59868kb

input:

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

output:

713338499.00000000000
613376941.66666662693
500362539.15700805187
750051021.55819034576
713338499.00...

result:

ok ok

Test #5:

score: 10
Accepted
time: 38ms
memory: 36216kb

input:

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

output:

989096690.34555983543
621159198.81455016136
585048429.45454549789
989096690.34555983543
564784568.08...

result:

ok ok

Test #6:

score: 10
Accepted
time: 619ms
memory: 12676kb

input:

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

output:

588416668.00000000000
660858295.00949847698
598942413.89999997616
660858295.00949847698
660858295.00...

result:

ok ok

Test #7:

score: 10
Accepted
time: 647ms
memory: 12696kb

input:

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

output:

524429578.77638643980
524429578.77638643980
492968655.87500000000
509351415.24571454525
510310210.19...

result:

ok ok

Test #8:

score: 10
Accepted
time: 767ms
memory: 35332kb

input:

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

output:

699110817.14026999474
522573319.79882037640
707869788.13872575760
707869788.13872575760
522573319.79...

result:

ok ok

Test #9:

score: 10
Accepted
time: 770ms
memory: 45360kb

input:

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

output:

994321828.35344827175
994321828.35344827175
684456364.62966763973
684456364.62966763973
729783715.10...

result:

ok ok

Test #10:

score: 10
Accepted
time: 766ms
memory: 31928kb

input:

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

output:

501745648.08658355474
988381374.61739134789
629129485.60820305347
988381374.61739134789
988381374.61...

result:

ok ok

Extra Test:

score: 0
Extra Test Passed