class Solution { public: /** * * @param x int整型 * @return int整型 / int sqrt(int x) { // write code here int i; for(i=0;ii<=x;i++) ; return i-1; } };