1493. SQUINT

单点时限: 2.0 sec

内存限制: 256 MB

Write a program to calculate integer square roots.

输入格式

Its only line consists of an integer $0 \leqslant n \leq 2^{63}$ .

输出格式

Its only line consists of the smallest nonnegative integer $q$ such that $q^2 \geqslant n$ .

样例

Input
122333444455555
Output
11060446

提示

$122333444455555^{0.5} ≈ 11060445.038765619$

1265 人解决,1811 人已尝试。

1696 份提交通过,共有 7118 份提交。

1.9 EMB 奖励。

创建: 16 年,9 月前.

修改: 5 年,8 月前.

最后提交: 1 周,1 天前.

来源: BOI 2006