QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#438103#5070. Check Pattern is Badegypt_ioi2024_11WA 7531ms3852kbC++201.6kb2024-06-10 08:24:222024-06-10 08:24:22

详细

Test #1:

score: 100
Accepted
time: 50ms
memory: 3684kb

input:

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

output:

YES
WB
WB
NO
YES
BWW
WWW
WWB

result:

ok ok (3 test cases)

Test #2:

score: 0
Accepted
time: 5778ms
memory: 3828kb

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
BB
WW
BB
YES
BB
BB
BW
BW
WW
BB
NO
NO
YES
B
W
B
B
B
W
W
W
B
W
YES
WWWW
WWWW
WWWW
BWBW
BWBB
WWBW
WWWW
WWBW
WWWW
WWBW
YES
WBW
WWW
BBB
WBB
WBW
WWW
WWW
BWB
YES
W
B
B
B
YES
BBBB
WWBB
YES
BWWBBB
WWWBWB
YES
WBWWW
YES
BWWWWB
WWBWWB
BBBWBB
WBWWBW
YES
B
YES
BWB
BBB
WBW
WBB
WWB
WBB
BBW
WWW...

result:

ok ok (10000 test cases)

Test #3:

score: -100
Wrong Answer
time: 7531ms
memory: 3852kb

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
B
W
W
B
B
B
B
B
W
YES
WBBW
WBBW
WWBB
WWBB
BWWW
BBWB
WWWW
BWWB
BBWB
YES
WW
WB
BB
YES
BWWBWWB
BWWBWWW
NO
NO
YES
WWB
BWB
BBB
BWW
WWW
YES
BWWWWWWBB
BBBWBWWBW
WWBWBWWBW
WWWWWWWBW
WWWWWWBBW
WWWWWWWWW
BWBWBBWWB
YES
WBWBWWB
WBBBWWB
WWWWWWW
BWWWWWW
BBBBWWB
WBBBWBB
WWWBWWB
WWWWWWW
WWWWBWW
YES
WW
BB
W...

result:

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