QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#295137#5070. Check Pattern is Baducup-team2880WA 3ms3816kbC++143.1kb2023-12-30 19:20:552023-12-30 19:20:56

详细

Test #1:

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

input:

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

output:

YES
WW
WW
NO
YES
BWW
WWW
WWW

result:

ok ok (3 test cases)

Test #2:

score: -100
Wrong Answer
time: 3ms
memory: 3704kb

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:

-1  1  0 -1  0 -1  0  0  1  1 
 0  1  1  1 -1 -1 -1  0 -1  0 
-1  0 -1  0  1 -1 -1 -1  0 -1 
 0 -1  0 -1 -1  1  0 -1 -1  0 
 1 -1  0  1 -1  1  0  0 -1 -1 
-1  0 -1 -1 -1  0  0  0  1 -1 
-1  0  1  0 -1  0  0 -1  0 -1 
 0  1 -1 -1  1 -1 -1  0  0 -1 
--------------------

result:

wrong answer Token parameter [name=yesno] equals to "-1", doesn't correspond to pattern "YES|NO" (test case 1)