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$

1450 人解决,2023 人已尝试。

1915 份提交通过,共有 8078 份提交。

1.9 EMB 奖励。

创建: 18 年,3 月前.

修改: 7 年,1 月前.

最后提交: 7 小时前.

来源: BOI 2006