Category
Similar Problems
0749. Cake
Time limit : 1000 ms
Memory limit : 64 mb
After the second round of programming contests Olympiad participants decided to celebrate this event. For this purpose, was commissioned by a large rectangular cake. In this table, around which the participants gathered was round. Naturally, they have a question, put a square cake on a round table so that no piece of cake did not extend beyond the table. You need to answer this question, knowing the size of the cake and the radius of the table.
Input
The input file contains three natural numbers R, W, L, recorded through a single space. R - radius of the table (1 <= R <= 1000), W - width of the cake, L - length of the cake (1 <= W <= L <= 1000).
Output
The only line in the output file should contain the word YES, if the cake is placed on the table, and the word NO otherwise.
№ |
Input |
Output |
1 |
38 40 60 |
YES |
2 |
35 20 70 |
NO |
3 |
50 60 80 |
YES |
Text from: e-olimp.com