QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#836207#9926. Flipping Pathsucup-team5150#WA 0ms4024kbC++174.1kb2024-12-28 17:21:502024-12-28 17:21:51

详细

Test #1:

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

input:

4
3 3
WBB
BWB
BBW
1 5
WWWWW
2 2
BB
BB
4 1
W
B
B
W

output:

YES
4
RRDD
DRDR
DRDR
DDRR
YES
0
YES
1
RD
NO

result:

wrong answer cell (2,1) contains different color with (1,1) after all ops. (test case 3)