Maximum Sum on Even Positions
1373D1600· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
481 7 3 4 7 6 2 951 2 1 2 1107 8 4 5 7 6 8 9 7 343 1 2 1
Output
265375
58%
1373D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
481 7 3 4 7 6 2 951 2 1 2 1107 8 4 5 7 6 8 9 7 343 1 2 1
265375