GO Solution For UVa 10023 - Square root. In this post we will see how we can solve this challenge in GoLang for UVa Online Judge.

Problem Description

You are to determinate X by given Y , from expression X =

√ Y

Input The first line is the number of test cases, followed by a blank line.

Each test case of the input contains a positive integer Y (1 ≤ Y ≤ 101000), with no blanks or leading zeroes in it.

It is guaranteed, that for given Y , X wil

...

You can find the full details of the problem Square root at UVa Online Judge

Sample Input

1

7206604678144

Sample Output

2684512

Solution: Please check the main.go snippet for the solution.

Solution originally posted at: Github by @codingsince1985