QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#445212#8523. Puzzle IIucup-team3897#WA 0ms3572kbC++203.8kb2024-06-16 00:05:272024-06-16 00:05:27

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

6 3
BCCBCC
BBCBBC

output:

4
4 3
5 3
2 6
3 6

result:

ok moves = 4

Test #2:

score: 0
Accepted
time: 0ms
memory: 3572kb

input:

2 1
BC
BC

output:

2
1 1
2 1

result:

ok moves = 2

Test #3:

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

input:

2 1
BB
CC

output:

4
1000000000 1000000001
1 1000000001
1 1
2 1

result:

wrong answer Integer 4 violates the range [0, 2]