Stop Gaming (Easy Version)
2059E12500· grandmaster3s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
42 22 63 41 27 81 55 4 1 2 35 4 3 2 13 31 2 34 5 67 8 911 1 212 3 413 5 64 41 2 3 45 6 7 89 10 11 1213 14 15 1617 1 2 34 18 5 67 19 8 209 21 22 10
Output
3536
58%
2059E1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)