程序设计在线评测(Online Judge)

2017年湖南科技大学大学生计算机程序设计竞赛初定于12月17日举行!有意参赛请加QQ群“湖科大程序设计校赛群(369699377)”

问题 1054. -- Square Root

1054: Square Root

时间限制: 1 Sec  内存限制: 128 MB
提交: 50  解决: 24
[提交][状态][讨论版]

题目描述

Your task is to calculate the square root of a given integer.

输入

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 consists of t lines, every line is the square root of n. The root is supposed to be truncated to 99 significant figures.

样例输入

1
2

样例输出

1.41421356237309504880168872420969807856967187537694807317667973799073247846210703885038753432764157

提示

来源

[提交][状态][讨论版]