cf/mirror

Incremental Subarray

CF
2151A800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
5
4 1
1
5 3
1 2 3
6 6
3 1 2 3 4 1
100000 1
100000
4 2
1 1
Output
4
3
1
1
1
2151A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)