cf/mirror

Distinct Buttons

CF
1909A800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
6
3
1 -1
0 0
1 -1
4
-3 -2
-3 -1
-3 0
-3 1
4
1 1
-1 -1
1 -1
-1 1
6
-4 14
-9 -13
-14 5
14 15
-8 -4
19 9
6
82 64
39 91
3 46
87 83
74 21
7 25
1
100 -100
Output
YES
YES
NO
NO
YES
YES
1909A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)