UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#79916#774. bXieRujian1009043ms1072kbC++1.1kb2019-10-07 11:53:532019-10-07 11:54:22

answer


详细

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

Subtask #1:

score: 15
Accepted

Test #1:

score: 15
Accepted
time: 0ms
memory: 668kb

input:

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

output:

299211.50000000

result:

ok Correct.

Test #2:

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

input:

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

output:

318157.60000000

result:

ok Correct.

Test #3:

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

input:

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

output:

349412.66666666

result:

ok Correct.

Subtask #2:

score: 15
Accepted

Test #4:

score: 15
Accepted
time: 123ms
memory: 668kb

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:

1110.99999999

result:

ok Correct.

Test #5:

score: 0
Accepted
time: 94ms
memory: 668kb

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.83333333

result:

ok Correct.

Test #6:

score: 0
Accepted
time: 91ms
memory: 668kb

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.50000000

result:

ok Correct.

Subtask #3:

score: 30
Accepted

Test #7:

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

input:

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

output:

602910.25000000

result:

ok Correct.

Test #8:

score: 0
Accepted
time: 1ms
memory: 624kb

input:

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

output:

285012.28571428

result:

ok Correct.

Test #9:

score: 0
Accepted
time: 437ms
memory: 640kb

input:

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

output:

17449704.75000000

result:

ok Correct.

Test #10:

score: 0
Accepted
time: 406ms
memory: 640kb

input:

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

output:

15510126.50000000

result:

ok Correct.

Test #11:

score: 0
Accepted
time: 528ms
memory: 632kb

input:

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

output:

17557535.00000000

result:

ok Correct.

Test #12:

score: 0
Accepted
time: 443ms
memory: 636kb

input:

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

output:

15576210.80000000

result:

ok Correct.

Subtask #4:

score: 40
Accepted

Test #13:

score: 40
Accepted
time: 12ms
memory: 776kb

input:

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

output:

813191.00000000

result:

ok Correct.

Test #14:

score: 0
Accepted
time: 12ms
memory: 776kb

input:

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

output:

776744.99999999

result:

ok Correct.

Test #15:

score: 0
Accepted
time: 886ms
memory: 788kb

input:

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

output:

21871597.00000000

result:

ok Correct.

Test #16:

score: 0
Accepted
time: 902ms
memory: 784kb

input:

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

output:

22489304.66666666

result:

ok Correct.

Test #17:

score: 0
Accepted
time: 854ms
memory: 784kb

input:

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

output:

21503655.33333333

result:

ok Correct.

Test #18:

score: 0
Accepted
time: 821ms
memory: 784kb

input:

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

output:

20934366.25000000

result:

ok Correct.

Test #19:

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

input:

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

output:

22238594.59999999

result:

ok Correct.

Test #20:

score: 0
Accepted
time: 890ms
memory: 788kb

input:

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

output:

20442257.25000000

result:

ok Correct.

Test #21:

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

input:

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

output:

268748750.00000000

result:

ok Correct.

Test #22:

score: 0
Accepted
time: 861ms
memory: 1072kb

input:

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

output:

268748750.00000000

result:

ok Correct.

Test #23:

score: 0
Accepted
time: 13ms
memory: 1040kb

input:

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

output:

274997500.00000000

result:

ok Correct.