UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#35835#109. 排队Rhein_E10096ms2928kbC++866b2018-11-03 09:02:482018-11-03 12:04:24

answer


详细

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

Test #1:

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

input:

19 5
15 18 9 3 19 2 17 3 14 11 13 4 8 11 3 4 4 12 12

output:

13

result:

ok single line: '13'

Test #2:

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

input:

19 13
13 10 1 6 10 2 6 5 13 6 18 5 12 12 1 17 19 18 17

output:

5

result:

ok single line: '5'

Test #3:

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

input:

1999 294736284
190286424 333739557 726410307 333479748 9272807 667701368 454819595 51595264 16414901...

output:

25064188266

result:

ok single line: '25064188266'

Test #4:

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

input:

1999 567987272
190202389 68846959 203094530 851212399 583695451 464128655 949681875 204791815 312710...

output:

8795098808

result:

ok single line: '8795098808'

Test #5:

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

input:

1999 500000000
190101547 373995465 57128680 236517745 161492812 937828317 343516611 47621135 1499773...

output:

1899728495

result:

ok single line: '1899728495'

Test #6:

score: 10
Accepted
time: 20ms
memory: 2928kb

input:

199999 189866248
714309273 962347775 479692062 323836968 797321450 76614642 112545313 201922934 4875...

output:

6953649250979

result:

ok single line: '6953649250979'

Test #7:

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

input:

199999 189916669
561735020 535330700 139555742 461196464 60471619 379697274 43647006 283289409 66813...

output:

6997372741359

result:

ok single line: '6997372741359'

Test #8:

score: 10
Accepted
time: 20ms
memory: 2924kb

input:

199999 189950283
126685518 485663552 109443058 601930677 894163 581752362 811865115 53361608 7863215...

output:

6921826629614

result:

ok single line: '6921826629614'

Test #9:

score: 10
Accepted
time: 20ms
memory: 2928kb

input:

199999 189983897
544152369 583480051 931846727 742664890 793833060 783807450 580083224 675950160 505...

output:

6919653060570

result:

ok single line: '6919653060570'

Test #10:

score: 10
Accepted
time: 20ms
memory: 2924kb

input:

199999 190017511
109102867 533812903 754250396 883399103 734255604 985862538 200817686 446022359 225...

output:

7000155607580

result:

ok single line: '7000155607580'

Extra Test:

score: 0
Extra Test Passed