QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#281792#7743. Grand FinaleHuangHanShengWA 1ms3576kbC++17876b2023-12-10 19:48:532023-12-10 19:48:53

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3576kb

input:

2
2 6
BG
BQWBWW
4 6
GQBW
WWWWQB

output:

3
IMPOSSIBLE

result:

ok 2 lines

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 3456kb

input:

2
3 8
QBG
BBBWBWWW
3 8
QBG
BBBWBWWW

output:

4
4

result:

wrong answer 1st lines differ - expected: '3', found: '4'