Processing math: 100%

Problem #21

Two Squares

You are given 2 squares such that sum of their area is 1. You want to fit these 2 squares inside a rectangle, without overlap, such that sides of the rectangle are parallel to the sides of the squares. Find the area of smallest such rectangle for which we can always fit the 2 squares as per the given constraints.

Enter answer as 10000000 * area. In case the answer is not an integer, return the answer rounded off to the nearest integer.

Contributed by Shagun Sodhani

Solved by 547 users

Log in to submit answers.

Is something wrong?

Maintaining a collection of high quality questions is our top priority. If, however, you do find an error, report the problem and we'll make sure it is reviewed soon.