QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#841774#9926. Flipping Pathsucup-team639WA 0ms3868kbC++174.4kb2025-01-04 04:03:532025-01-04 04:03:53

詳細信息

Test #1:

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

input:

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

output:

YES
7
DRDR
DRDR
RDRD
DDRR
RDRD
RDRD
RRDD
YES
0
YES
2
RD
RD
NO

result:

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