QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#728536#8742. 黑白ZhaoZiLongWA 73ms8408kbC++171002b2024-11-09 15:23:492024-11-09 15:23:50

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 73ms
memory: 8408kb

input:

100
2 6
WWBBWW
WWWWWB
3 8
WWWBBBBB
WWWBWWWB
BBWWWBWW
5 2
WB
BB
BB
BW
BB
6 4
WWBW
WBWB
WWWW
WWWB
BBWW
BWBW
2 3
WWW
WBW
124 125
BWWWWWWWWWWWWWWWWWWWWWWWWWWBWWWWBWWWWWWWWBWWWWWWWWWWWBBBBWWWWWWWWWWWWWWWWWBWWWWWWWWWBWWWWWWWWWWBWWWWWWWWBBWWWWWWWWWWWWWWWWWWB
WWWWWWWBWWBWWWWWWWWWWWBWWBWWBWWWWBWWWWWWWWWBWBWB...

output:

J
J
I
I
I
I
I
I
I
I
J
J
J
I
J
J
J
J
J
I
I
I
J
J
J
I
I
I
J
I
I
I
J
I
I
J
J
J
I
I
I
I
I
J
J
J
J
I
I
J
I
I
J
I
I
I
I
J
I
J
J
J
J
J
I
J
J
I
I
J
I
I
I
I
J
J
J
I
I
J
J
I
I
J
I
I
I
J
I
I
J
J
J
I
I
J
J
J
J
J

result:

wrong answer 3rd lines differ - expected: 'J', found: 'I'