


The first line of the input contains a single positive integer 'T', denoting the number of test cases.
The first line of each test case contains Two space-separated positive integers 'N' and 'D', denoting the number whose square root you have to find and the number of decimal places up to which you have to find the square root.
For each test case, print a single line containing a single number denoting the square root such that the difference between the number and the actual square root is less than or equal to 10 ^ (-D).
The output of each test case will be printed in a separate line.
You don't have to print anything, it has already been taken care of. Just Implement the given function.
1 <= T <= 10 ^ 4
1 <= N <= 10 ^ 15
1 <= D <= 6
Time limit: 1 sec.
Element Count in Ranges
First Digit One
Minimize Maximum Adjacent Distance
Sorted Doubly Linked List to Balanced BST
Minimized Maximum of Products Distributed to Any Store