QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#91050#6132. Repair the ArtworklarryzhongWA 0ms3500kbC++173.7kb2023-03-26 21:23:322023-03-26 21:23:33

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 0ms
memory: 3500kb

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
179226655
469101477
888829612
462316734
650344
2208
551134486
146
7776
1
533745508
44785707
838292321
937486125
240123632
151030497
931324055
203109971
423118886
295259581
8676476
678784069
294354547
651938580
461683393
726098121
73856090
911449951
908848170
461463496
629288437
100251338
4...

result:

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