QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#318301#3079. Joining The Bricks TogetherZhaoZiLongWA 536ms4184kbC++201.7kb2024-01-31 00:03:162024-01-31 00:03:16

詳細信息

Test #1:

score: 0
Wrong Answer
time: 536ms
memory: 4184kb

input:

44279
1
1 B
1
1 W
2
1 B
1 W
2
1 W
1 W
3
1 B
1 B
1 W
3
1 W
1 B
1 W
3
1 B
1 W
1 W
3
1 W
1 W
1 W
4
1 B
1 B
1 B
1 W
4
1 W
1 B
1 B
1 W
4
1 B
1 W
1 B
1 W
4
1 W
1 W
1 B
1 W
4
1 B
1 B
1 W
1 W
4
1 W
1 B
1 W
1 W
4
1 B
1 W
1 W
1 W
4
1 W
1 W
1 W
1 W
5
1 B
1 B
1 B
1 B
1 W
5
1 W
1 B
1 B
1 B
1 W
5
1 B
1 W
1 B
1 B
...

output:

1
1
1
2
1
1
1
3
1
2
2
1
1
1
1
4
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
5
1
2
2
2
2
3
3
1
2
3
3
2
2
2
2
1
1
2
2
2
2
2
2
1
1
1
1
1
1
1
1
6
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
7
1
2
2
1
2
1
1
2
2
1
1
3
1
3
3
1
2
1
1
3
1
4
...

result:

wrong answer 41st lines differ - expected: '1', found: '2'