QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#375706#8058. Binary vs TernaryHuangHanShengWA 1ms3756kbC++171.7kb2024-04-03 15:03:542024-04-03 15:03:55

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 3756kb

input:

3
1
111
110110
1101010
1111
111111

output:

-1
28
1 1
2 3
5 6
4 5
3 4
2 3
1 2
2 10
1 2
1 2
2 3
2 3
2 3
3 4
3 4
3 4
4 5
4 5
4 5
5 6
5 6
5 6
6 7
6 7
7 8
4 5
5 6
2 3
3 4
15
1 1
2 3
1 2
2 6
1 2
1 2
2 3
2 3
2 3
3 4
3 4
3 4
4 5
4 5
4 5
5 6

result:

wrong answer S!=T after all operations (test case 2)