QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#835889#9926. Flipping Pathsucup-team6239#WA 1ms4652kbC++143.1kb2024-12-28 15:15:312024-12-28 15:15:31

详细

Test #1:

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

input:

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

output:

YES
4
RDRD
RDRD
DDRR
DDRR
YES
4
RRRR
RRRR
RRRR
RRRR
YES
2
DR
DR
NO

result:

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