cf/mirror

Mathematical Circus

CF
1719B800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
4
4 1
2 0
12 10
14 11
Output
YES
1 2
3 4
NO
YES
3 4
7 8
11 12
2 1
6 5
10 9
YES
1 2
3 4
5 6
7 8
9 10
11 12
13 14
1719B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)