BZPRO
#1349. [Baltic2006]Squint
内存限制:64 MiB
时间限制:1 Sec
提交
提交记录
讨论
题目描述
Write a program to calculate integer square roots.
输入格式
The input is read from a text file named squint.in. Its only line consists of an integer 0 < = n < 2^63 .
输出格式
Its only line consists of the smallest nonnegative integer q such that q^2 >= n .
样例
样例输入
122333444455555
样例输出
11060446
数据范围与提示
sqrt(122333444455555)=11060445.038765619 .