cf/mirror

Odd Queries

CF
1807D900· newbie2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
2
5 5
2 2 1 3 2
2 3 3
2 3 4
1 5 5
1 4 9
2 4 3
10 5
1 1 1 1 1 1 1 1 1 1
3 8 13
2 5 10
3 8 10
1 10 2
1 9 100
Output
YES
YES
YES
NO
YES
NO
NO
NO
NO
YES
1807D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)