cf/mirror

Parallel Sums

CF
2206E2500· grandmaster4s1024 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
8 4
4 -4 2 6 5
4
3 7
4 6
1 8
2 5
Output
2
unbounded
4
-1
2206E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)