QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#653568#8935. Puzzle: Easy as Scrabbleucup-team2540TL 0ms3624kbC++172.4kb2024-10-18 20:18:122024-10-18 20:18:14

详细

Test #1:

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

input:

5 5
.CBA...
....x..
..x...C
A.....B
B..x..A
C......
.......

output:

YES
CBA..
....C
A...B
B...A
C....

result:

ok Correct.

Test #2:

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

input:

1 2
....
Nx..
..O.

output:

NO

result:

ok Correct.

Test #3:

score: -100
Time Limit Exceeded

input:

5 5
.U.N.X.
U....xX
Ox....X
M...xxN
Vx....S
Ix.x..X
..IBHX.

output:


result: