squint
题号:NC212330
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 256 M,其他语言512 M
64bit IO Format: %lld

题目描述

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 .
示例1

输入

复制
122333444455555

输出

复制
11060446