cf/mirror

Maximum Even Sum

CF
2137C1100· newbie2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
7
8 1
1 8
7 7
2 6
9 16
1 6
4 6
Output
-1
6
50
8
74
-1
14
2137C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)