cf/mirror

Array Decrements

CF
1690B800· newbie1s256 MB⌨ stdin/stdout

Examples

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