QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#55638#2448. Make Rounddog Happylarryzhong#AC ✓82ms11780kbC++171.5kb2022-10-14 21:24:012022-10-14 21:24:01

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 82ms
memory: 11780kb

input:

13
10000 9950
8745 9998 467 7434 1964 9375 9997 48 8597 2568 3761 9498 1576 6348 4819 4870 9997 9043 8623 2147 8768 9555 9709 2657 5124 2631 3010 2249 2212 2997 9996 4320 796 5189 5556 5548 5290 2026 5555 187 9090 9149 908 8714 5238 3236 3986 5510 8571 3020 5118 2522 2465 384 9105 1342 8220 8291 672...

output:

224745
4
2581
3108
9670
241874
5
2608
3208
360
254389236
556991258
560720870

result:

ok 13 lines