Maximum Sum
1946B1100· newbie1s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
122 2-4 -73 32 2 81 775 14 -2 8 -12 97 48 14 -9 6 0 -1 37 1005 3 -8 12 -5 -9 36 1000-1000000000 -1000000000 -1000000000 -1000000000 -1000000000 -10000000002 11000000000 85 40 0 0 0 06 1048973 757292 58277 -38574 27475 9999847 1-1000 1000 -1000 1000 -1000 1000 -100010 10050408293874 -3498597 7374783 295774930 -48574034 26623784 498754833 -294875830 283045804 85938045
Output
999999996968961735171645533242208979092410416571966
58%
1946B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)