EasyRating 1000
Integer Square Root
Print ⌊√n⌋ for n up to 10¹⁸ using binary search (no math.isqrt).
Input
One integer.
Output
A number.
Sample 1
Input
17
Output
4
Sample 2
Input
0
Output
0
Output appears hereOne integer.
A number.
17
4
0
0
Output appears here