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.4142135623730950488016887242096980785696718753769480731
7667973799073247846210703885038753432764157
解决方案 »
- 关于JOptionPane.showMessageDialog()的问题
- 北京通融通信息技术有限公司(易宝支付)笔试!
- 怎么处理点击某个控件消息?(立即结帐)
- 求助:关于Canvas大小设置的奇怪问题
- 菜鸟问题,烦帮忙看下,谢谢
- javac可编译通过,可java不能运行
- 通过ServerSocket起一个服务器 如何让外网的ip访问我的服务器
- 关于Runtime.getRuntime().exec()的使用
- 关于网络安全问题!
- PreparedStatement怎么获取sql语句
- 新手问一个问题,关于for循环中的取值
- 序列化或反序列化时,需要readObject(ObjectInputStream stream)和writeObject???
1.41421356237309504880168872420969807856967187537694807317667973799073247846210703885038753432764157
[e01]楼上是不是用了如下算法http://blog.csdn.net/ZERO2046/archive/2007/05/20/1618507.aspx