QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#445029#8523. Puzzle IIucup-team130#WA 1ms6068kbC++172.8kb2024-06-15 23:07:382024-06-15 23:07:41

詳細信息

Test #1:

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

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: 1ms
memory: 6016kb

input:

2 1
BC
BC

output:

2
2 2
2 1

result:

ok moves = 2

Test #3:

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

input:

2 1
BB
CC

output:

0

result:

ok moves = 0

Test #4:

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

input:

2 1
CC
BB

output:

0

result:

ok moves = 0

Test #5:

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

input:

3 1
CCC
BBB

output:

0

result:

ok moves = 0

Test #6:

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

input:

3 1
CBC
BCB

output:

2
2 1
2 2

result:

ok moves = 2

Test #7:

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

input:

3 2
BBB
CCC

output:

0

result:

ok moves = 0

Test #8:

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

input:

3 2
BCB
BCC

output:

2
2 2
2 3

result:

ok moves = 2

Test #9:

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

input:

4 2
CCCB
BBCB

output:

2
4 1
4 2

result:

ok moves = 2

Test #10:

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

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: 0ms
memory: 4036kb

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!