QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#835945#9926. Flipping Pathsucup-team6239#WA 1ms4672kbC++143.5kb2024-12-28 15:35:122024-12-28 15:35:18

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

YES
5
RRDD
DRDR
DRDR
DDRR
DDRR
YES
1
RRRR
YES
3
RD
RD
DR
NO

result:

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