QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#344909#6300. Best Carry Player 2ucup-team3175TL 0ms3768kbC++201.2kb2024-03-05 18:33:442024-03-05 18:33:45

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3768kb

input:

4
12345678 0
12345678 5
12345678 18
990099 5

output:

1
54322
999999999987654322
9910

result:

ok 4 lines

Test #2:

score: -100
Time Limit Exceeded

input:

21
999990000099999 0
999990000099999 1
999990000099999 2
999990000099999 3
999990000099999 4
999990000099999 5
999990000099999 6
999990000099999 7
999990000099999 8
999990000099999 9
999990000099999 10
999990000099999 11
999990000099999 12
999990000099999 13
999990000099999 14
999990000099999 15
999...

output:

-1
10
10
10
10
1
900001
9900001
99900001
999900001
9999900010
9999900010
9999900010
9999900010
9999900010
9999900006
9000009999900035
99000009999900097
999000009999905633
100000000000000563200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result: