cf/mirror

Labyrinth

CF
1063B1800· expert2s512 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
4 5
3 2
1 2
.....
.***.
...**
*....
Output
10
Sample 2of 2
Input
4 4
2 2
0 1
....
..*.
....
....
Output
7
1063B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…