QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#443727#8523. Puzzle IIucup-team3727#WA 19ms11280kbPython33.2kb2024-06-15 16:22:592024-06-15 16:23:02

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 19ms
memory: 11180kb

input:

6 3
BCCBCC
BBCBBC

output:

4
1 3
1 4
4 1
4 2

result:

ok moves = 4

Test #2:

score: 0
Accepted
time: 16ms
memory: 11120kb

input:

2 1
BC
BC

output:

2
1 1
1 2

result:

ok moves = 2

Test #3:

score: 0
Accepted
time: 11ms
memory: 11036kb

input:

2 1
BB
CC

output:

0

result:

ok moves = 0

Test #4:

score: 0
Accepted
time: 16ms
memory: 11212kb

input:

2 1
CC
BB

output:

0

result:

ok moves = 0

Test #5:

score: 0
Accepted
time: 16ms
memory: 11028kb

input:

3 1
CCC
BBB

output:

0

result:

ok moves = 0

Test #6:

score: 0
Accepted
time: 16ms
memory: 11176kb

input:

3 1
CBC
BCB

output:

2
2 1
2 2

result:

ok moves = 2

Test #7:

score: 0
Accepted
time: 16ms
memory: 11144kb

input:

3 2
BBB
CCC

output:

0

result:

ok moves = 0

Test #8:

score: 0
Accepted
time: 16ms
memory: 11280kb

input:

3 2
BCB
BCC

output:

2
2 2
2 3

result:

ok moves = 2

Test #9:

score: 0
Accepted
time: 15ms
memory: 11196kb

input:

4 2
CCCB
BBCB

output:

2
4 1
4 2

result:

ok moves = 2

Test #10:

score: 0
Accepted
time: 8ms
memory: 11216kb

input:

9 6
CCCBCCCBB
BBBCBBBCC

output:

6
4 3
4 4
7 3
7 4
7 9
7 1

result:

ok moves = 6

Test #11:

score: -100
Wrong Answer
time: 12ms
memory: 11104kb

input:

21 3
CCCCBBCBCCCCCCCBCCCCC
BBCCBCBBBBBBBBBCBBBBB

output:

8
5 13
5 14
5 3
5 4
7 2
7 3
16 2
16 3

result:

wrong answer The final sequences are not correct!