Rectangle Puzzle II
303B1700· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
9 9 5 5 2 1
Output
1 3 9 7
Sample 2of 2
Input
100 100 52 50 46 56
Output
17 8 86 92
58%
303B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
9 9 5 5 2 1
1 3 9 7
100 100 52 50 46 56
17 8 86 92