QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#606207#7900. Gifts from Knowledgeucup-team3340WA 19ms3816kbC++201.5kb2024-10-02 23:11:412024-10-02 23:11:42

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 19ms
memory: 3572kb

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:

1024
256
16
256
4
16
256
16384
16384
256
1024
1024
4
4
1024
4
256
16
16
16
4096
4
1024
4096
16
16384
4096
16384
4
1024
16
16384
16384
16
256
16384
1
4
64
16
64
4096
4
16384
1024
1024
1024
64
4
4096
1024
1
16384
1024
64
16
64
16384
1024
256
256
256
1024
64
1024
4096
256
4096
4096
16384
64
4096
4
256
...

result:

wrong answer 2nd numbers differ - expected: '32768', found: '256'