
CodePudding user response:
Don't directly use the int type, to maintain accuracy must let 10 x is the square root of the rounding down turn strong (integer)CodePudding user response:
I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10581430.html
I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10768339.html