QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#411225#6299. Binary Stringezteam1WA 123ms4420kbC++143.0kb2024-05-15 10:12:232024-05-15 10:12:24

详细

Test #1:

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

input:

3
1
001001
0001111

output:

1
3
9

result:

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

Test #2:

score: -100
Wrong Answer
time: 123ms
memory: 4420kb

input:

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

output:

1
18
18
19
18
18
19
20
18
18
18
19
19
20
20
21
18
18
18
19
18
18
19
18
19
19
20
20
20
21
21
22
18
18
18
19
18
2
19
18
18
18
18
18
19
18
20
18
19
19
19
19
20
21
19
18
20
21
21
21
21
22
22
23
18
18
18
19
18
18
19
18
18
18
18
18
19
18
20
18
18
18
18
18
18
18
19
18
19
19
20
18
20
18
21
18
19
19
19
19
19...

result:

wrong answer 12th numbers differ - expected: '20', found: '19'