Full Binary Tree Queries
960D2100· master4s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
53 121 2 13 122 4 -13 8
Output
12 6 3 112 6 2 18 4 2 1
Sample 2of 2
Input
53 141 5 -33 141 3 13 14
Output
14 7 3 114 6 3 114 6 2 1
58%
960D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…