#P1584. 迷宫寻路

迷宫寻路

Description

Input Format

Output Format

3 5
.##.#
.#...
...#.
Yes

Hint

Source

贪心