QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#604424#7900. Gifts from Knowledgeucup-team2454#WA 19ms3696kbC++201.5kb2024-10-02 10:48:512024-10-02 10:48:51

详细

Test #1:

score: 100
Accepted
time: 4ms
memory: 3688kb

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

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
1024
2
16
16
2
4
16
16
2
128
32
32
2
2
32
2
16
4
2
4
2
64
16
64
4
128
64
128
2
32
2
16
128
4
16
128
1
2
8
4
8
64
2
128
8
32
32
2
4
32
32
1
64
64
8
4
8
2
64
32
16
16
16
16
16
64
16
64
64
128
2
64
2
4
8
64
4
4
8
2
4
2
1
2
16
8
4
16
16
32
32
4
128
2
1
16
4
128
1
32
1
1
16
32
32
8
2
16
8
8
16
8
2
3...

result:

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