Labyrinth
1666L1800· expert3s512 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
5 5 11 22 31 44 33 5
Output
Possible31 2 331 4 3
Sample 2of 3
Input
5 5 11 22 33 42 55 4
Output
Impossible
Sample 3of 3
Input
3 3 21 22 33 1
Output
Impossible
58%
1666L.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…