码迷,mamicode.com
首页 > 其他好文 > 详细

寒假集训.Reverse Root

时间:2015-01-29 14:38:16      阅读:99      评论:0      收藏:0      [点我收藏+]

标签:acm   c++   oj   

B - Reverse Root
Time Limit:2000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64u

Description

The problem is so easy, that the authors were lazy to write a statement for it!

Input

The input stream contains a set of integer numbers Ai (0 ≤ Ai ≤ 10 18). The numbers are separated by any number of spaces and line breaks. A size of the input stream does not exceed 256 KB.

Output

For each number Ai from the last one till the first one you should output its square root. Each square root should be printed in a separate line with at least four digits after decimal point.

Sample Input

input output
 1427  0   

   876652098643267843 
5276538
  
   
2297.0716
936297014.1164
0.0000
37.7757

寒假集训.Reverse Root

标签:acm   c++   oj   

原文地址:http://blog.csdn.net/a576699534/article/details/43270561

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!