QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#755271#7900. Gifts from Knowledgeucup-team5911WA 15ms3576kbC++205.4kb2024-11-16 16:53:422024-11-16 16:53:43

详细

Test #1:

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

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: 15ms
memory: 3576kb

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:

512
16384
1
16
16384
64
16
8
8
1
8192
8192
64
64
16384
4096
64
32
8192
1
2
1
2048
8
2048
512
16384
16384
8192
4
64
1
8
2048
4096
16384
4096
4096
8
8192
8192
128
64
4
128
4
2048
256
1
2
16
16
1
32
256
512
16384
16384
1
32
8192
8
4096
8
128
8
32
4096
4096
32
512
1
16384
1
2
256
2048
512
16
4096
1
16
1...

result:

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