cf/mirror

Square of Rectangles

CF
2120A800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
5
100 100 10 10 1 1
5 3 5 1 5 1
2 3 1 2 1 1
8 5 3 5 3 3
3 3 3 3 2 1
Output
NO
YES
YES
NO
NO
2120A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)