Iceman
题目描述
[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=243&page=show_problem&problem=3264
[PDF](https://uva.onlinejudge.org/external/121/p12112.pdf)
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12112/d3cf08f672f2dfe0878d1d15c998ee86237e708d.png)
输入输出格式
输入格式
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12112/3b16d84e0d8d6d3cfdfc15078898a4a0c468335a.png)
输出格式
![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12112/76171f1514abdf86361a5e82a393655746a39204.png)
输入输出样例
输入样例 #1
55
XXXXX
X@.#X
XX.XX
X...X
XXXXX
77
XXXXXXX
X.....X
X@[=].X
XXX.XXX
XXX.XXX
XXX#XXX
XXXXXXX
66
XXXXXX
[email protected]
XXXX=X
X..O.X
X.#O.X
XXXXXX
0
输出样例 #1
Case 1: >RR
Case 2: R>R
Case 3: RR>RLLLLL>R