UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#119251#84. ticketdongyinuo10041ms1160kbC++111.4kb2020-09-20 09:37:382020-09-20 12:30:30

answer


详细

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

Test #1:

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

input:

30364 25459 13910 844
325 254 235 43 332 1020 985 51 336 388 914 18 145 453 479 765 448 181 647 115 ...

output:

402386

result:

ok single line: '402386'

Test #2:

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

input:

30439 10529 31570 245
20 2534 1150 2465 1233 1333 2324 538 2998 1035 2451 1496 2266 2462 2574 820 15...

output:

397200

result:

ok single line: '397200'

Test #3:

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

input:

30462 20231 25547 848
690 59 55 1124 714 216 108 208 922 935 764 321 910 908 575 727 1093 27 669 103...

output:

413946

result:

ok single line: '413946'

Test #4:

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

input:

30482 19186 1660 156
4791 292 1857 1260 1796 5025 401 5192 1150 3089 3161 1597 2697 3874 2946 1124 3...

output:

431651

result:

ok single line: '431651'

Test #5:

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

input:

30501 18140 10541 696
368 860 1248 657 902 130 667 1145 590 1189 709 137 919 203 395 367 21 115 838 ...

output:

433983

result:

ok single line: '433983'

Test #6:

score: 10
Accepted
time: 8ms
memory: 1156kb

input:

6902 1000000000000 20336 93160
9999999423 9999999594 9999999496 9999999559 9999999563 9999999468 999...

output:

930099953919382

result:

ok single line: '930099953919382'

Test #7:

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

input:

6928 1000000000000 8020 100000
9999999434 9999999469 9999999645 9999999443 9999999490 9999999517 999...

output:

998499950526864

result:

ok single line: '998499950526864'

Test #8:

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

input:

6967 1000000000000 5929 100000
9999999470 9999999495 9999999620 9999999466 9999999611 9999999472 999...

output:

998499950563220

result:

ok single line: '998499950563220'

Test #9:

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

input:

6997 1000000000000 4360 100000
9999999371 9999999566 9999999520 9999999417 9999999505 9999999490 999...

output:

998499950583141

result:

ok single line: '998499950583141'

Test #10:

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

input:

7026 1000000000000 2792 100000
9999999643 9999999504 9999999449 9999999601 9999999431 9999999439 999...

output:

998499950549068

result:

ok single line: '998499950549068'