UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#80107#774. bluhong1007256ms1824kbC++111.5kb2019-10-08 22:16:332019-10-08 22:16:35

answer


详细

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

Subtask #1:

score: 15
Accepted

Test #1:

score: 15
Accepted
time: 4ms
memory: 1352kb

input:

2000 1000000
6838 10661 18900 22593 7741 32241 31117 26499 10355 32153 19700 28265 10154 32377 8204 ...

output:

299211.5000000030

result:

ok Correct.

Test #2:

score: 0
Accepted
time: 4ms
memory: 1348kb

input:

2000 1000000
17849 5244 1792 9149 32407 28937 3617 8511 4518 18530 15562 17516 13025 31649 14456 610...

output:

318157.6000000014

result:

ok Correct.

Test #3:

score: 0
Accepted
time: 0ms
memory: 1348kb

input:

2000 1000000
8521 29928 5110 7036 32643 10644 5919 179 3339 11705 22463 24046 1356 19810 14012 331 2...

output:

349412.6666666676

result:

ok Correct.

Subtask #2:

score: 15
Accepted

Test #4:

score: 15
Accepted
time: 100ms
memory: 1352kb

input:

2000 100
68 13 71 85 8 70 43 12 59 7 84 27 73 2 55 59 55 69 49 11 94 46 53 76 32 37 87 59 18 89 6 74...

output:

1111.0000000016

result:

ok Correct.

Test #5:

score: 0
Accepted
time: 81ms
memory: 1348kb

input:

2000 100
64 19 25 53 57 63 43 8 74 34 68 69 95 34 45 56 14 17 16 57 91 36 46 81 59 36 40 40 13 68 98...

output:

1082.8333333376

result:

ok Correct.

Test #6:

score: 0
Accepted
time: 79ms
memory: 1348kb

input:

2000 100
7 55 26 1 31 75 60 22 2 59 65 93 48 96 86 38 64 76 13 44 0 98 27 32 15 28 47 64 87 7 77 45 ...

output:

1101.5000000043

result:

ok Correct.

Subtask #3:

score: 30
Accepted

Test #7:

score: 30
Accepted
time: 2ms
memory: 1300kb

input:

1000 1000000
7076 8863 12265 9743 7041 23980 28950 9416 3285 9329 8903 31481 20660 27843 22600 20560...

output:

602910.2500000042

result:

ok Correct.

Test #8:

score: 0
Accepted
time: 2ms
memory: 1300kb

input:

1000 1000000
18699 3063 23615 12529 28713 4290 4518 11935 25013 12196 16562 19364 9321 20857 30622 1...

output:

285012.2857142894

result:

ok Correct.

Test #9:

score: 0
Accepted
time: 28ms
memory: 1300kb

input:

1000 1000000
8079 31824 24309 24380 27887 17070 1432 28247 26071 22416 29032 12235 1550 28525 19850 ...

output:

17449704.7499999963

result:

ok Correct.

Test #10:

score: 0
Accepted
time: 32ms
memory: 1304kb

input:

1000 1000000
6742 31374 19404 2066 29234 2600 26036 13694 30918 18728 12993 10606 8173 3595 27469 18...

output:

15510126.4999999963

result:

ok Correct.

Test #11:

score: 0
Accepted
time: 28ms
memory: 1300kb

input:

1000 1000000
26823 4438 24246 28893 7488 14981 23194 13594 19983 16321 21288 17651 31551 17981 10448...

output:

17557534.9999999963

result:

ok Correct.

Test #12:

score: 0
Accepted
time: 25ms
memory: 1300kb

input:

1000 1000000
8472 1978 4693 29489 23048 9968 8930 4672 14583 19215 5123 17824 11468 24302 16006 3045...

output:

15576210.7999999970

result:

ok Correct.

Subtask #4:

score: 40
Accepted

Test #13:

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

input:

5000 1000000
7200 24086 2975 6645 5779 9356 16151 29252 8133 5078 3283 387 9969 1243 13934 24047 618...

output:

813190.9999999988

result:

ok Correct.

Test #14:

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

input:

5000 1000000
11314 8911 26539 27698 15802 25209 17448 7045 7078 22092 19502 13370 11635 16991 965 31...

output:

776744.9999999997

result:

ok Correct.

Test #15:

score: 0
Accepted
time: 816ms
memory: 1460kb

input:

5000 1000000
7951 5852 15735 3415 18835 27768 11118 11338 4711 46 2032 10517 22870 5810 6324 14112 1...

output:

21871596.9999999963

result:

ok Correct.

Test #16:

score: 0
Accepted
time: 817ms
memory: 1460kb

input:

5000 1000000
26932 19206 700 2953 19206 466 13523 12307 29239 32276 22996 9721 19208 2131 12347 1064...

output:

22489304.6666666679

result:

ok Correct.

Test #17:

score: 0
Accepted
time: 819ms
memory: 1464kb

input:

5000 1000000
21746 23458 1590 3777 20414 25245 14186 9203 9213 32676 4942 30369 31518 1529 29030 195...

output:

21503655.3333333321

result:

ok Correct.

Test #18:

score: 0
Accepted
time: 805ms
memory: 1464kb

input:

5000 1000000
20206 9721 30559 8072 12847 30791 3465 12821 1706 13485 4110 21408 13818 15663 15477 24...

output:

20934366.2500000000

result:

ok Correct.

Test #19:

score: 0
Accepted
time: 849ms
memory: 1460kb

input:

5000 1000000
16970 12708 26999 30473 6949 17547 21141 26486 4811 7696 13028 30004 32208 16260 18749 ...

output:

22238594.5999999940

result:

ok Correct.

Test #20:

score: 0
Accepted
time: 808ms
memory: 1460kb

input:

5000 1000000
14986 14778 31554 3532 21371 17015 19867 7000 15953 25542 28536 8867 26385 7658 21283 1...

output:

20442257.2499999925

result:

ok Correct.

Test #21:

score: 0
Accepted
time: 661ms
memory: 1720kb

input:

5000 110000
100001 100002 100003 100004 100005 100006 100007 100008 100009 100010 100011 100012 1000...

output:

268748750.0000000000

result:

ok Correct.

Test #22:

score: 0
Accepted
time: 688ms
memory: 1824kb

input:

5000 110000
105000 104999 104998 104997 104996 104995 104994 104993 104992 104991 104990 104989 1049...

output:

268748750.0000000000

result:

ok Correct.

Test #23:

score: 0
Accepted
time: 588ms
memory: 1792kb

input:

5000 110000
105000 105000 105000 105000 105000 105000 105000 105000 105000 105000 105000 105000 1050...

output:

274997500.0000000000

result:

ok Correct.