cf/mirror

Anton and Lines

CF
593B1600· expert1s256 MB⌨ stdin/stdout

Examples

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