QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#662346#8523. Puzzle IIucup-team4740#WA 2ms19916kbC++172.5kb2024-10-20 23:09:382024-10-20 23:09:38

详细

Test #1:

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

input:

6 3
BCCBCC
BBCBBC

output:

4
1 3
2 3
5 6
6 6

result:

ok moves = 4

Test #2:

score: 0
Accepted
time: 2ms
memory: 19684kb

input:

2 1
BC
BC

output:

2
1 1
2 1

result:

ok moves = 2

Test #3:

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

input:

2 1
BB
CC

output:

0

result:

ok moves = 0

Test #4:

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

input:

2 1
CC
BB

output:

0

result:

ok moves = 0

Test #5:

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

input:

3 1
CCC
BBB

output:

0

result:

ok moves = 0

Test #6:

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

input:

3 1
CBC
BCB

output:

2
1 2
2 2

result:

ok moves = 2

Test #7:

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

input:

3 2
BBB
CCC

output:

0

result:

ok moves = 0

Test #8:

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

input:

3 2
BCB
BCC

output:

2
3 1
1 1

result:

ok moves = 2

Test #9:

score: 0
Accepted
time: 2ms
memory: 19880kb

input:

4 2
CCCB
BBCB

output:

2
2 3
3 3

result:

ok moves = 2

Test #10:

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

input:

9 6
CCCBCCCBB
BBBCBBBCC

output:

6
3 9
4 9
3 8
4 8
9 2
1 2

result:

ok moves = 6

Test #11:

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

input:

21 3
CCCCBBCBCCCCCCCBCCCCC
BBCCBCBBBBBBBBBCBBBBB

output:

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

result:

wrong answer The final sequences are not correct!