Andrey's Tree
1935F2800· international gm4s256 MB⌨ stdin/stdout
#binary search#constructive algorithms#data structures#dfs and similar#dsu#greedy#implementation#trees
Examples
Sample 1of 1
Input
351 31 44 53 254 24 33 55 152 11 51 41 3
Output
1 13 40 01 11 22 13 50 00 00 01 11 21 11 21 11 23 32 34 53 40 00 00 00 0
58%
1935F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…