Rudolf and Imbalance
1941F1800· expert3s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
75 5 55 10 15 20 2611 14 16 13 816 4 5 3 17 6 51 4 7 10 18 21 222 3 5 7 4 26 8 9 3 27 6 51 4 7 10 18 21 222 3 5 7 4 26 8 13 3 25 6 32 10 13 20 2511 6 10 16 14 56 17 154 2 211 12 14 1519 1410 68 4 23 10 16 18 21 22 29 309 13 16 154 22 4 74 214 15 14 520 1 15 1 12 5 11
Output
54582711
58%
1941F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)