modify 69 sqrt(x) problem, adjust code style