QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#745011#7900. Gifts from Knowledgeucup-team057WA 26ms27372kbC++172.6kb2024-11-14 01:21:562024-11-14 01:21:57

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
3 5
01100
10001
00010
2 1
1
1
2 3
001
001

output:

4
0
2

result:

ok 3 number(s): "4 0 2"

Test #2:

score: -100
Wrong Answer
time: 26ms
memory: 27252kb

input:

15613
10 10
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
15 8
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
1 5
00000
5 9
000000000
000000000
0000...

output:

10 10
0 0
0 0
0 0
0 0
0 0
15 8
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 1
5 0
5 9
0 0
0 0
0 15
2 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
7 4
0 0
0 0
0 0
0 5
8 0
0 0
0 0
4 15
0 0
0 0
4 14
0 0
0 0
1 8
0 14
11 0
0 0
0 0
0 0
0 0
0 0
0 0
0 14
10 0
0 0
0 0
0 0
0 0
0 0
0 0
0 7
3 0
0 0
0 0
0 0
7 3
0 0
0 0
0 0
0 15
10 0
0 0
0 0
...

result:

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