cf/mirror

Verifying Kingdom

CF
772E3200· legendary gm2s256 MB⇄ interactive

Examples

Sample 1of 1
Input
5
X
Z
Y
Y
X
Output
1 4 2
1 2 4
2 4 1
2 3 5
2 4 3
-1
-1 1 1 2 2 3 3 6 6
772E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…