cf/mirror

Max GEQ Sum

CF
1691D1800· expert1.5s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
3
4
-1 1 -1 2
5
-1 2 -3 2 -1
3
2 3 -1
Output
YES
YES
NO
1691D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)