cf/mirror

Theseus and labyrinth

CF
676D2000· candidate master3s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
2 2
+*
*U
1 1
2 2
Output
-1
Sample 2of 2
Input
2 3
<><
><>
1 1
2 1
Output
4
676D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…