Maximum Area
Submissions: 2123   Accuracy:

27.68%

  Difficulty: Basic   Marks: 1

Given the maximum possible area of the right angle triangle for a fixed length of hypotenuse. The task is to find the length of hypotenuse.

Input:

The first line of the input contains an integer T, denoting the number of test cases. Then T test cases follow. Each test case consists of a single integer N (Denoting the area of the right angle triangle)
Output:

Corresponding to each test case, print in a new line the length of hypotenuse if output is in decimal return floor value.
Constraints:

1≤T≤100
1≤N≤1010

Sample Input
1
25

Sample Output
10

** For More Input/Output Examples Use 'Expected Output' option **

Contributor: Siddharth Dungarwal
Author: sd5869


If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.



Need help with your code? Please use ide.geeksforgeeks.org, generate link and share the link here.

to report an issue on this page.