static int isqrt(double x) { ret iround(Math.sqrt(x)); }