QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#526719#6132. Repair the ArtworkZhangYiDeWA 4ms3960kbC++172.5kb2024-08-21 19:36:182024-08-21 19:36:18

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3796kb

input:

3
2 2
2 0
3 2
2 1 0
3 1
2 1 0

output:

8
3
1

result:

ok 3 number(s): "8 3 1"

Test #2:

score: -100
Wrong Answer
time: 4ms
memory: 3960kb

input:

100
2 1
0 1
2 1
2 1
2 1
1 1
1 6
2
1 14
2
3 12
2 2 2
6 13
2 2 0 2 0 2
7 14
0 0 0 0 2 2 0
5 8
2 2 0 0 0
5 5
2 2 0 0 0
12 3
0 2 0 2 2 0 1 2 2 2 2 0
7 11
2 2 0 1 0 1 0
4 4
2 1 2 2
7 5
1 1 0 0 1 0 0
2 14
2 1
15 17
2 2 1 2 0 0 0 0 2 0 1 0 0 0 0
15 11
1 1 2 0 1 2 0 0 1 0 2 1 1 1 1
15 18
1 0 1 0 2 2 1 2 0 1...

output:

1
1
0
1
1
175723535
62683417
535016378
470335028
683958
51476
545477862
176
7776
1
238062265
123067364
688965759
487954758
664208805
972178115
99048460
369277507
830903090
920214280
501075264
922467152
321355415
822300688
471802765
554443932
445563531
918793072
301725113
874847801
773080440
18261007...

result:

wrong answer 6th numbers differ - expected: '175715347', found: '175723535'