QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#465706#8523. Puzzle IIucup-team3684#WA 0ms3864kbC++203.2kb2024-07-07 06:02:292024-07-07 06:02:29

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

6 3
BCCBCC
BBCBBC

output:

2
2 4
4 6

result:

ok moves = 2

Test #2:

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

input:

2 1
BC
BC

output:

1
2 1

result:

ok moves = 1

Test #3:

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

input:

2 1
BB
CC

output:

0

result:

ok moves = 0

Test #4:

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

input:

2 1
CC
BB

output:

0

result:

ok moves = 0

Test #5:

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

input:

3 1
CCC
BBB

output:

0

result:

ok moves = 0

Test #6:

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

input:

3 1
CBC
BCB

output:

1
2 2

result:

ok moves = 1

Test #7:

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

input:

3 2
BBB
CCC

output:

0

result:

ok moves = 0

Test #8:

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

input:

3 2
BCB
BCC

output:

1
1 2

result:

wrong answer The final sequences are not correct!