QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#159554#6299. Binary StringWhiteqwqWA 79ms11888kbC++201.1kb2023-09-02 18:02:572023-09-02 18:02:57

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
1
001001
0001111

output:

1
3
9

result:

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

Test #2:

score: -100
Wrong Answer
time: 79ms
memory: 11888kb

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
20
18
19
20
21
18
18
18
19
18
18
20
21
18
19
19
21
19
20
21
22
18
18
18
19
18
18
19
21
18
18
18
21
19
20
21
22
19
18
18
19
18
19
21
22
19
20
20
22
20
4
5
6
1
1
1
2
1
1
2
3
1
1
1
3
2
2
4
5
1
1
1
2
1
1
4
5
2
3
3
5
3
4
5
6
2
1
1
2
1
2
2
5
1
2
2
5
3
4
5
6
1
2
2
3
2
3
5
6
...

result:

wrong answer 13th numbers differ - expected: '19', found: '18'