Problem F
Circular Caramel Cookie

This year, your archrival Rob had the audacity to open up
another factory for stroopwafels and they have already
announced that their stroopwafels will be even bigger than
yours. Although the exact size of the new stroopwafels is a
well-kept secret, your industrial spy managed to find out that
the grid-like pattern of the stroopwafel consists of at most
![\includegraphics[width=0.25\textwidth ]{sample}](/problems/circularcaramelcookie/file/statement/en/img-0002.png)
Needless to say, there is no way that you will let Rob outdo
you and you plan on releasing a new edition of bigger
stroopwafels. Since the production of bigger stroopwafels is
more expensive, you naturally want to make them as small as
possible. Thus, you are interested in the minimum radius of a
stroopwafel with strictly more than
Input
The input consists of:
-
One line with an integer
( ), the number of whole squares Rob’s stroopwafel has at most.
Output
Output the minimum radius in centimetres of a stroopwafel
with strictly more than
Sample Input 1 | Sample Output 1 |
---|---|
11 |
2.2360679775 |
Sample Input 2 | Sample Output 2 |
---|---|
59 |
5.0000000000 |