QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#114955#5850. Candy StoreGuanYunchang0 1ms3524kbC++14487b2023-06-24 11:10:372023-06-24 11:10:40

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 3524kb

input:

100
2 3
3 3
13 1
20 2
6 3
5 3
3 1
7 2
15 1
4 3
1 1
14 3
1 3
17 1
10 2
12 2
9 1
14 1
5 2
6 3
13 2
18 2
17 3
2 3
18 3
16 1
19 2
17 1
11 3
20 3
3 1
8 3
7 3
18 1
11 2
20 3
7 2
4 3
1 2
7 2
10 1
17 3
5 2
14 1
2 1
3 1
4 1
17 2
8 2
5 1
18 1
8 1
15 3
10 2
6 2
20 1
15 3
1 3
3 2
17 1
14 1
3 2
9 3
16 3
15 2
12 ...

output:

Case #100: 4
Case #100: 6
Case #100: 13
Case #100: 30
Case #100: 11
Case #100: 10
Case #100: 3
Case #100: 11
Case #100: 15
Case #100: 8
Case #100: 1
Case #100: 26
Case #100: 2
Case #100: 17
Case #100: 15
Case #100: 18
Case #100: 9
Case #100: 14
Case #100: 8
Case #100: 11
Case #100: 20
Case #100: 27
...

result:

wrong answer 1st lines differ - expected: 'Case #1: 4', found: 'Case #100: 4'

Subtask #2:

score: 0
Time Limit Exceeded

Test #2:

score: 0
Time Limit Exceeded

input:

100
984 4
830 901580635835
937 117926240831
1000 62009
1000 11
656 187600851857
577 732239839666
149 276944
401 126493510574
1000 696570219424
765 796394824105
422 120213965166
686 140
1000 431774067439
106 351578631166
374 279760528652
1 1000000000000
1000 134489424902
25 909266561260
402 333089014...

output:


result: