[Login|Register]
Problems

Status

Rank

Problem 1150
Square Root
Time Limit: 1000ms
Memory Limit: 65536kb
Description
Your task is to calculate the square root of a given integer.
Input
First line is a number t,t<=10, the number of the test cases. Following t lines, each contains a single integer n, with n<65536.
Output
Output consists of t lines, every line is the square root of n. The root is supposed to be truncated to 99 significant figures.
Sample Input
1
2
Sample Output
1.41421356237309504880168872420969807856967187537694807317667973799073247846210703885038753432764157
Source
cbx@USTC
University of Science and Technology of China
Online Judge for ACM/ICPC
Processed in 1.1ms with 1 query(s).