cf/mirror

Symmetric Matrix

CF
1426B900· newbie1s256 MB⌨ stdin/stdout

Examples

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