cf/mirror

Soccer

CF
1982A800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
6
1 0
5 0
1 2
3 2
1 2
4 5
1 2
4 3
1 2
1 2
998244353 0
1000000000 999999999
Output
YES
NO
YES
NO
YES
YES
1982A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)