QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#419225#6299. Binary Stringegypt_ioi2024_11WA 82ms3808kbC++231.5kb2024-05-23 19:09:432024-05-23 19:09:43

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3808kb

input:

3
1
001001
0001111

output:

1
3
9

result:

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

Test #2:

score: -100
Wrong Answer
time: 82ms
memory: 3652kb

input:

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

output:

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

result:

wrong answer 3rd numbers differ - expected: '18', found: '17'