Ancient Tree
2127E2100· master4s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
44 45 5 5 51 0 2 31 21 31 45 23 1 4 1 51 2 1 2 21 42 13 44 511 33 1 4 3 1 4 3 1 4 5 60 0 0 2 1 2 1 2 2 1 11 22 32 42 52 61 77 87 910 33 114 32 3 2 32 1 0 03 11 22 4
Output
01 4 2 331 2 1 2 272 3 1 2 1 2 1 2 2 1 102 1 3 1
58%
2127E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…