cf/mirror

Intergalactic Sliding Puzzle

CF
1280F3400· legendary gm1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
2
3
1 2 3 5 6 E 7
8 9 10 4 11 12 13
11
34 45 6 22 16 43 38 44 5 4 41 14 7 29 28 19 9 18 42 8 17 33 1
E 15 40 36 31 24 10 2 21 11 32 23 30 27 35 25 13 12 39 37 26 20 3
Output
SURGERY COMPLETE
IR
R SrS
S rr
I lldll
DONE
SURGERY FAILED
1280F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)