QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#657961#8058. Binary vs TernaryHuangHanShengWA 0ms3576kbC++201.1kb2024-10-19 15:52:242024-10-19 15:52:26

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3576kb

input:

3
1
111
110110
1101010
1111
111111

output:

-1
13
3 4
4 5
1 2
1 3
1 3
1 3
2 4
2 3
3 4
4 5
5 6
6 7
7 8
18
3 4
4 5
1 2
1 3
1 3
1 3
2 4
2 3
3 4
4 5
5 6
6 7
7 8
1 2
1 3
1 3
1 3
2 4

result:

wrong answer (l,r) is invalid (test case 3)