cf/mirror

Company Income Growth

CF
39B1300· pupil2s64 MB⌨ stdin/stdout
#greedy

Examples

Sample 1of 2
Input
10
-2 1 1 3 2 3 4 -10 -2 5
Output
5
2002 2005 2006 2007 2010
Sample 2of 2
Input
3
-1 -2 -3
Output
0
39B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)