Square and Rectangles
325A1500· specialist1s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
50 0 2 30 3 3 52 0 5 23 2 5 52 2 3 3
Output
YES
Sample 2of 2
Input
40 0 2 30 3 3 52 0 5 23 2 5 5
Output
NO
58%
325A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)