QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#419188#6299. Binary Stringegypt_ioi2024_11WA 87ms3588kbC++231.5kb2024-05-23 18:36:582024-05-23 18:36:59

详细

Test #1:

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

input:

3
1
001001
0001111

output:

1
3
9

result:

ok 3 number(s): "1 3 9"

Test #2:

score: -100
Wrong Answer
time: 87ms
memory: 3588kb

input:

262144
000000000000000000
100000000000000000
010000000000000000
110000000000000000
001000000000000000
101000000000000000
011000000000000000
111000000000000000
000100000000000000
100100000000000000
010100000000000000
110100000000000000
001100000000000000
101100000000000000
011100000000000000
11110000...

output:

1
0
-1
1
-1
0
0
2
-1
0
-1
2
-1
1
1
3
-1
0
-1
1
-1
0
0
3
-1
0
0
3
0
2
2
4
-1
0
-1
1
-1
0
0
3
-1
0
-1
3
-1
2
2
4
-1
0
-1
1
-1
1
1
4
-1
1
1
4
1
3
3
5
-1
0
-1
1
-1
0
0
2
-1
0
-1
2
-1
1
1
4
-1
0
-1
1
-1
0
0
4
-1
0
0
4
0
3
3
5
-1
0
-1
1
-1
0
0
4
-1
0
0
4
0
3
3
5
-1
0
0
2
0
2
2
5
0
2
2
5
2
4
4
6
-1
0
-1
1
...

result:

wrong answer 2nd numbers differ - expected: '18', found: '0'