QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#606220#7900. Gifts from Knowledgeucup-team3340WA 19ms3856kbC++201.5kb2024-10-02 23:27:322024-10-02 23:27:33

详细

Test #1:

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

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

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'