QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505475#5865. Space Emergencyxiaowuc137 ✓1250ms3808kbC++171.5kb2024-08-05 05:37:462024-08-05 05:37:46

詳細信息

Subtask #1:

score: 12
Accepted

Test #1:

score: 12
Accepted
time: 6ms
memory: 3668kb

input:

100
2 20 8 2 3 5
1 4 2 2 10 4
1 4700970 1000 1000 4550 7708 7056 7320 4336 8001 5330 802 4560 479 9330 9471 3354 3095 7681 2039 1785 1886 3471 6264 9634 2109 9562 5554 9012 8181 1605 6486 1241 57 3956 7736 5662 1927 8412 9138 2373 4482 6378 9024 1267 5540 9686 6092 7174 7750 5072 2899 5904 5282 3433...

output:

Case #1: 54
Case #2: 20
Case #3: 10044041
Case #4: 10682
Case #5: 415752
Case #6: 5668704
Case #7: 10389
Case #8: 658678
Case #9: 10196304
Case #10: 213207
Case #11: 9746234
Case #12: 527824
Case #13: 474281
Case #14: 170606
Case #15: 4758502
Case #16: 10028590
Case #17: 97384
Case #18: 11124
Case #...

result:

ok 100 lines

Subtask #2:

score: 25
Accepted

Test #2:

score: 25
Accepted
time: 1250ms
memory: 3808kb

input:

100
2 20 8 2 3 5
1 4 2 2 10 4
24546 4706358214 1000000 1000 4550 7708 7056 7320 4336 8001 5330 802 4560 479 9330 9471 3354 3095 7681 2039 1785 1886 3471 6264 9634 2109 9562 5554 9012 8181 1605 6486 1241 57 3956 7736 5662 1927 8412 9138 2373 4482 6378 9024 1267 5540 9686 6092 7174 7750 5072 2899 5904...

output:

Case #1: 54
Case #2: 20
Case #3: 9813770352
Case #4: 10682
Case #5: 316682
Case #6: 5369363381
Case #7: 542758
Case #8: 2577435452
Case #9: 11397
Case #10: 5918748901
Case #11: 10579
Case #12: 10801
Case #13: 740598
Case #14: 9823056928
Case #15: 14788
Case #16: 8561190772
Case #17: 474318
Case #18:...

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed