cf/mirror

Square and Rectangles

CF
325A1500· specialist1s256 MB⌨ stdin/stdout

Examples

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