QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#443969#8523. Puzzle IIucup-team3717#WA 1ms5908kbC++141.8kb2024-06-15 16:57:032024-06-15 16:57:08

詳細信息

Test #1:

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

input:

6 3
BCCBCC
BBCBBC

output:

4
1 6
1 1
4 4
4 5

result:

ok moves = 4

Test #2:

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

input:

2 1
BC
BC

output:

2
2 2
2 1

result:

ok moves = 2

Test #3:

score: 0
Accepted
time: 1ms
memory: 5684kb

input:

2 1
BB
CC

output:

0

result:

ok moves = 0

Test #4:

score: 0
Accepted
time: 1ms
memory: 5608kb

input:

2 1
CC
BB

output:

0

result:

ok moves = 0

Test #5:

score: 0
Accepted
time: 1ms
memory: 5556kb

input:

3 1
CCC
BBB

output:

0

result:

ok moves = 0

Test #6:

score: 0
Accepted
time: 1ms
memory: 5608kb

input:

3 1
CBC
BCB

output:

2
2 1
2 2

result:

ok moves = 2

Test #7:

score: 0
Accepted
time: 1ms
memory: 5560kb

input:

3 2
BBB
CCC

output:

0

result:

ok moves = 0

Test #8:

score: 0
Accepted
time: 1ms
memory: 5848kb

input:

3 2
BCB
BCC

output:

2
2 2
2 3

result:

ok moves = 2

Test #9:

score: 0
Accepted
time: 1ms
memory: 5712kb

input:

4 2
CCCB
BBCB

output:

2
4 1
4 2

result:

ok moves = 2

Test #10:

score: -100
Wrong Answer
time: 1ms
memory: 5620kb

input:

9 6
CCCBCCCBB
BBBCBBBCC

output:

6
4 7
4 8
8 3
8 4
8 4
8 5

result:

wrong answer The final sequences are not correct!