krishan kasana likes playing with balls. Now there is grill of A x A and kasana is intrested in knowing whether a ball of radius r passes through it or not. Find the probablity of passing through it
NOTE: report the answer upto 2 decimal points only.
Input
first line contains t representing number of test cases
Next T lines comtain A and r
Output
print in a line the output of that test case
Contraints
A<100000
r<100000