@@ -0,0 +1,463 @@
+public class LeetCode0069 %7B%0A%09public int mySqrt(int x) %7B%0A%09%09if (x %3C= 0) %7B%0A%09%09%09return x;%0A%09%09%7D%0A%09%09int result = 0;%0A%09%09int left = 1, right = x;%0A%09%09while (left %3C= right) %7B%0A%09%09%09int mid = left + ((right - left) %3E%3E 1);%0A%09%09%09if (mid %3C= x / mid) %7B%0A%09%09%09%09left = mid + 1;%0A%09%09%09%09result = mid;%0A%09%09%09%7D else %7B%0A%09%09%09%09right = mid - 1;%0A%09%09%09%7D%0A%09%09%7D%0A%09%09return result;%0A%09%7D%0A%0A%09public static void main(String%5B%5D args) %7B%0A%09%09LeetCode0069 leetcode = new LeetCode0069();%0A%09%09System.out.println(leetcode.mySqrt(1));%0A%09%7D%0A%7D

Add LeetCode0069.java