111. Very simple problem
Time Limit: 0.25 sec, Memory Limit: 1 MB
You are given natural number X. Find such maximum integer number that it square
is not greater than X.
Input
Input file contains number X (1 ≤ X ≤ 10^1000).
Output
Write answer in output file.
Sample Input
16
Sample Output
4
题意很简单,就是求一个可能多达1000位的正整数 X 的平方根的整数部分。
初学 JAVA ,用 JAVA 的 BigInteger 类来实现牛顿迭代求平方根 (很多库函数不知道,靠自己来写咯)。





































































































在 SGU 提交的结果:
ID: Date'n'Time: Name: Task: .Ext: Status: Time: Memory:
652002 28.10.07 02:20 rappizit 111 .JAVA Accepted 126 ms 0 kb