Tree Diameter
1919H2000· candidate master2s256 MB⇄ interactive
Examples
Sample 1of 1
Input
53190
Output
? 1 1 1 1 1? 2 1 3? 1 4 3 2 1? 2 4 2!3 14 21 22 5
58%
1919H.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…
53190
? 1 1 1 1 1? 2 1 3? 1 4 3 2 1? 2 4 2!3 14 21 22 5