QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#835073#9926. Flipping Pathsucup-team5323#WA 0ms3588kbC++142.2kb2024-12-28 09:24:232024-12-28 09:24:23

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

0 1 1 
1 0 1 
1 1 0 
YES
2
RRDD
DDRR
0 0 0 0 0 
YES
0
0 0 
0 0 
YES
0
0 
1 
1 
0 
1 
0 
0 
1 
NO

result:

wrong answer YES or NO expected in answer, but 0 found. (test case 1)