We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Set of rectangular grids such as the number of rectangles contained is neares to the target = {(1,1), (1,2), (2,1)}
The maximum area of the grids in the previus set = 2
Another one:
Target = 33
Set of rectangular grids such as the number of rectangles contained is neares to the target = {(1,8),(2,4),(3,3),(8,1),(4,2)} (which have 36 or 30 rectangles each)
The maximum area of the grids in the previus set = 9
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #85: Counting rectangles
You are viewing a single comment's thread. Return to all comments →
Another one: