QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#511104#8058. Binary vs TernaryHuangHanShengWA 0ms3584kbC++141.4kb2024-08-09 16:19:222024-08-09 16:19:22

详细

Test #1:

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

input:

3
1
111
110110
1101010
1111
111111

output:

-1
29
1 2
2 3
2 3
2 3
1 2
1 2
2 3
1 2
1 2
2 3
1 2
1 2
1 2
1 2
1 2
2 3
1 2
3 4
1 2
1 2
1 2
1 2
1 2
2 3
1 2
3 4
1 2
1 2
1 2

33
1 2
2 3
2 3
1 2
1 2
2 3
1 2
1 2
1 2
1 2
1 2
2 3
1 2
3 4
1 2
1 2
1 2
2 3
1 2
3 4
1 2
1 2
1 2
2 3
1 2
3 4
1 2
1 2
1 2
2 3
1 2
3 4
1 2


result:

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