#BZOJ1349. Squint

Squint

No submission language available for this problem.

题目描述

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 .