|
RECTANGLE
RECTANGLE
Make a rectangle using the squares with side lengths
(1,4,5,7,8,9,11,12,13,14,14,15,18,22,41,42,46).
-All of the squares will be used exactly one time.
-The squares cannot overlap.
-There will be no gap within the rectangle.
Enter the side lengths of the four corner squares in ascending order and use commas between them.
If the problem was asked for the squares with side lengths (6,6,12,16,16,18,18,32) the answer would be 6,16,18,32
矩形
使用边长为(1,4,5,7,8,9,11,12,13,14,14,15,18,22,41,42,46)的正方形拼一个矩形
-所有的正方形都要使用一次。
-正方形不能重叠。
-矩形中没有空隙。
输出矩形的四个角所在正方形的边长,按升序排列并使用以逗号分隔。
如果问题问为正方形边长 (6,6,12,16,16,18,18,32) ,那么答案是 6,16,18,32 |
|