QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#444243#5070. Check Pattern is Badegypt_ioi2024_11WA 67ms3756kbC++233.5kb2024-06-15 17:55:392024-06-15 17:55:40

详细

Test #1:

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

input:

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

output:

YES
WW
BB
NO
YES
BWB
WWW
WWB

result:

ok ok (3 test cases)

Test #2:

score: 0
Accepted
time: 61ms
memory: 3692kb

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
WB
BB
WB
BB
YES
BW
BB
BW
BW
WW
BB
NO
NO
YES
B
W
B
B
B
W
W
W
B
B
YES
WBWW
WWWB
WWWW
WWBW
BWBW
WWWW
WWWW
BWWW
BBWW
BBBW
YES
WBW
WWW
BBW
WWW
WWW
WWW
BBB
WWB
YES
W
B
B
B
YES
WBBB
WBBB
YES
BWWBBB
BWWWWB
YES
WWWBB
YES
BWWBBB
WWBBBB
BBBWWW
WWWWBW
YES
W
YES
BWB
BBB
WBB
WBB
WWB
BBB
BBW
WBW...

result:

ok ok (10000 test cases)

Test #3:

score: -100
Wrong Answer
time: 67ms
memory: 3632kb

input:

10000
9 6
?B?W?W
WWBBWB
?WB?BW
B?W?W?
WW??W?
B???BW
?W?WW?
W?B?B?
?W?BB?
10 1
W
?
?
?
?
?
?
?
B
W
9 4
????
????
W???
?W?B
??WW
?BW?
WW?W
??W?
??W?
3 2
?W
?B
BB
2 7
?W?BWWB
??W???W
9 9
?BW?WWW?W
BW?WBBWWW
W?W????WW
W??WW??WW
W?BWB?B?W
??BB?WWWW
W???WBW?W
WWW???WWW
B?WWWWWW?
8 10
W??BWWW??B
?BWBWBW?BW...

output:

NO
YES
W
W
W
B
B
B
W
B
B
W
YES
WWWB
WWBB
WBBB
WWWB
WWWW
BBWB
WWWW
WBWB
WWWB
YES
WW
WB
BB
YES
WWWBWWB
WWWBWWW
NO
NO
YES
WWB
BWB
BBB
WBW
WWW
YES
WWWWWWBBW
BBWWBWWBW
WWWBBBWWW
WWWWWBBBW
BWWWWWBWW
WWWWWWWWB
BWWBBBWWW
YES
WBWWWWW
BBBBWWW
BWWWWWW
BWWWWBW
BBBBWWW
WWBBWBB
WWWWWWW
WWWWBWW
BWWBBWW
YES
WW
BB
B...

result:

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