QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#841775#9926. Flipping Pathsucup-team639WA 0ms3600kbC++174.6kb2025-01-04 04:08:512025-01-04 04:08:51

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

1 0 0 
0 1 0 
0 0 1 
0 0 0 
1 0 0 
0 1 0 
1 0 0 
0 1 0 
0 0 1 
0 1 0 
0 0 1 
0 0 0 
0 1 1 
1 0 1 
1 1 0 
1 1 1 
0 0 1 
0 0 1 
0 0 1 
0 1 0 
0 0 0 
1 1 1 
0 0 1 
0 0 1 
YES
4
DDRR
RDRD
RDRD
RRDD
YES
0
0 0 
0 0 
1 1 
0 1 
YES
2
RD
RD
NO

result:

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