QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#526337#6132. Repair the ArtworkZhangYiDeWA 4ms4232kbC++202.3kb2024-08-21 13:53:362024-08-21 13:53:40

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 4232kb

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:

1000000004
1000000006
1000000005
1000000006
1000000006
177849301
399211684
748708320
329664977
999116047
595694
356865893
370
999992229
1000000006
329541949
982839596
980077250
895879366
930638196
592970669
702690344
191769985
48489308
31008198
31334604
506948611
507478576
614442713
563438162
349222...

result:

wrong answer 1st numbers differ - expected: '1', found: '1000000004'