cf/mirror

Sifid and Strange Subsequences

CF
1529B1100· newbie1s256 MB⌨ stdin/stdout

Examples

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