Implement int sqrt(int x)
.
Compute and return the square root of x
.
二分查找
{% if book.java %} {% codesnippet "./code/plus-one."+book.suffix, language=book.suffix %}{% endcodesnippet %} {% endif %}
{% if book.cpp %} {% codesnippet "./code/plus-one."+book.suffix, language=book.suffix %}{% endcodesnippet %} {% endif %}