QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#438084#5070. Check Pattern is Badegypt_ioi2024_11WA 41ms3912kbC++204.0kb2024-06-10 07:59:392024-06-10 07:59:39

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3620kb

input:

3
2 2
??
??
3 3
BW?
W?B
?BW
3 3
BW?
W?W
?W?

output:

YES
WW
BW
NO
YES
BWB
WWW
BWW

result:

ok ok (3 test cases)

Test #2:

score: -100
Wrong Answer
time: 41ms
memory: 3912kb

input:

10000
9 2
BB
BW
WW
WW
?W
?B
B?
W?
BB
6 2
??
?B
B?
BW
WW
??
10 7
WBBBW??
???BWWW
???BWWB
??WWBW?
BBWBBWB
WWB?WW?
BWBW???
WWWWBBW
BBWBB?W
B?W?W?B
4 7
??WBWWB
?BBWWWB
?W?BBB?
BBBWBBB
10 1
B
W
?
B
B
W
W
W
B
?
10 4
??WW
W?W?
WWW?
???W
?W??
?W?W
W?W?
?W?W
???W
???W
8 3
WBW
W??
???
???
W?W
W?W
???
?W?
4 1
...

output:

YES
BB
BW
WW
WW
WW
BB
BW
WW
BB
YES
WB
BB
BB
BW
WW
BW
NO
NO
YES
B
W
W
B
B
W
W
W
B
B
YES
BBWW
WWWW
WWWW
WBBW
WWWW
BWBW
WWWW
WWWW
WWWW
WWWW
YES
WBW
WBB
WBB
WBW
WWW
WWW
BBB
WWW
YES
W
B
W
W
YES
BBWB
WWWB
YES
BBWBBB
BWWWWB
YES
WWWBB
NO
YES
W
YES
BWB
BBB
WBB
WBB
WWB
BBB
BWW
BWB
YES
WWBBWBB
WWBWWBW
BWWWWBB
...

result:

wrong answer ans finds the answer, but out doesn't (test case 12)