Constrained Tree
513D12400· grandmaster2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
3 21 2 LEFT1 3 RIGHT
Output
2 1 3
Sample 2of 2
Input
3 21 2 RIGHT1 3 LEFT
Output
IMPOSSIBLE
58%
513D1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…