Tree
1111E2500· grandmaster1.5s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
7 25 42 65 31 27 54 63 3 2 7 4 33 1 4 6 2 1
Output
20
Sample 2of 3
Input
7 24 72 54 15 15 64 33 3 2 7 1 42 1 6 3 2
Output
11
Sample 3of 3
Input
5 23 54 54 21 42 2 3 1 22 2 4 5 4
Output
21
58%
1111E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…