QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#625051#7900. Gifts from Knowledgeucup-team5074#WA 10ms11612kbC++202.6kb2024-10-09 17:16:262024-10-09 17:16:26

詳細信息

Test #1:

score: 100
Accepted
time: 6ms
memory: 11316kb

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: 10ms
memory: 11612kb

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'