Dogeforces
1494D2300· international master2s256 MB⌨ stdin/stdout
#constructive algorithms#data structures#dfs and similar#divide and conquer#dsu#greedy#sortings#trees
Examples
Sample 1of 1
Input
32 5 75 1 77 7 4
Output
52 1 4 7 541 52 55 43 4
58%
1494D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…