cf/mirror

Consecutive Points Segment

CF
1671B1000· newbie2s256 MB⌨ stdin/stdout

Examples

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