Rectangles and Square
335D2400· grandmaster3s512 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
90 0 1 91 0 9 11 8 9 98 1 9 82 2 3 63 2 7 32 6 7 75 3 7 63 3 5 6
Output
YES 55 6 7 8 9
Sample 2of 2
Input
40 0 1 91 0 9 11 8 9 98 1 9 8
Output
NO
58%
335D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)