cf/mirror

Treasure Island

CF
106D1700· expert2s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
6 10
##########
#K#..#####
#.#..##.##
#..L.#...#
###D###A.#
##########
4
N 2
S 1
E 1
W 2
Output
AD
Sample 2of 2
Input
3 4
####
#.A#
####
2
W 1
N 2
Output
no solution
106D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)