String Theory
269E3100· legendary gm2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
3 4L T 1 3L B 2 2L B 3 3T R 1 2T B 2 1T R 4 1B R 4 3
Output
1 2 33 2 1 4
Sample 2of 2
Input
3 3L T 1 1T R 3 1R B 3 3B L 1 3L R 2 2T B 2 2
Output
No solution
58%
269E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)