QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#438095 | #5070. Check Pattern is Bad | egypt_ioi2024_11 | TL | 2413ms | 3892kb | C++20 | 1.9kb | 2024-06-10 08:14:31 | 2024-06-10 08:14:32 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3892kb
input:
3 2 2 ?? ?? 3 3 BW? W?B ?BW 3 3 BW? W?W ?W?
output:
YES WW WB NO YES BWW WWW WWW
result:
ok ok (3 test cases)
Test #2:
score: 0
Accepted
time: 2413ms
memory: 3700kb
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 WW BB YES WW WB BB BW WW WW NO NO YES B W W B B W W W B W YES BWWW WWWW WWWW WWBW BWWW BWWW WWWW WWBW BBBW WWBW YES WBW WBB WWW WWW WBW WBW WBW WWW YES W B W B YES WBBB WWBB YES BBWBBB BWWWWB YES WBWBW YES BWWWWB WWBBWB BBBWWW WBWWBW YES W YES BWB BBB WBW WBB WWB BBB BWW BWB...
result:
ok ok (10000 test cases)
Test #3:
score: -100
Time Limit Exceeded
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 W W W W W B W YES WWBB BWWB WWWW WWWB WBWW WBWB WWWW BWWB BBWB YES WW BB BB YES BWBBWWB BWWBBWW NO NO YES WWB BWW BBB BWW WWB YES WWWWWWWBB WWBBWWWWW WWBBBWBWW BWWWBBBWW BWBWWWWWW WWWWWWBWB BWBWWWBWW YES WBWWWWW BBBBWBW BWBWWWW BWWWWWB BBBBWWW WBWBWBB WWWWWWB WWWWBWB WWWBBWW YES WB WB W...