Build a Tree
2247E2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
52 24 65 105 14100 8347
Output
1 21 41 31 23 23 44 15 3-1-1
58%
2247E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…
52 24 65 105 14100 8347
1 21 41 31 23 23 44 15 3-1-1