AASF-IIITM / spojprobs

Solutions to spoj problems
1 stars 37 forks source link

AE00 - Rectangles #36

Closed saket13 closed 6 years ago

saket13 commented 6 years ago

Byteman has a collection of N squares with side 1. How many different rectangles can he form using these squares?

Two rectangles are considered different if none of them can be rotated and moved to obtain the second one. During rectangle construction, Byteman can neither deform the squares nor put any squares upon any other ones.

haritha1313 commented 6 years ago

Thanks for the PR. Keep contributing!