sqrt函数内的形参需要是float类型的,否则会便宜香港vps出现有多个重载函数sqrt实例与参数列表匹配的error。 转载于:https://www.cnblogs.com/linux0537/p/6558150.html