QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#438102 | #5070. Check Pattern is Bad | egypt_ioi2024_11 | TL | 498ms | 3696kb | C++20 | 1.6kb | 2024-06-10 08:23:55 | 2024-06-10 08:23:55 |
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: 498ms
memory: 3696kb
input:
3 2 2 ?? ?? 3 3 BW? W?B ?BW 3 3 BW? W?W ?W?
output:
YES BB BB NO YES BWB WWW WWW
result:
ok ok (3 test cases)
Test #2:
score: -100
Time Limit Exceeded
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 WB BB YES BB BB BW BW WW BW NO NO YES B W W B B W W W B B YES WBWW WWWB WWWW WWBW BWBW WWWW WBWW WWWW BWBW BWBW YES WBW WBW WWW BWW WWW WWW WBB WWW YES W B B W YES BBWB WBWB YES BBWBBB BBWWWB YES WBWBW YES BWWWWB WWBWWB BBBWWB WWWWWW YES W YES BWB BBB WBB WBB WWB BBB BWW WWW...