Interview
631A900· newbie1s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
51 2 4 3 22 3 3 12 1
Output
22
Sample 2of 2
Input
1013 2 7 11 8 4 9 8 5 15 7 18 9 2 3 0 11 8 6
Output
46
58%
631A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
51 2 4 3 22 3 3 12 1
22
1013 2 7 11 8 4 9 8 5 15 7 18 9 2 3 0 11 8 6
46