Home STD Contest Notification Clarification Problems Ranklist Status Print Sign Out

View Compilation Error

1_291_2476_23658.cpp
1_291_2476_23658.cpp(11) : error C2668: “abs” : 对重载函数的调用不明确
        VC\include\math.h(584): 可能是“long double abs(long double)”
        VC\include\math.h(536): 或       “float abs(float)”
        VC\include\math.h(530): 或       “double abs(double)”
        VC\include\math.h(528): 或       “long abs(long)”
        VC\include\stdlib.h(265): 或       “int abs(int)”
        试图匹配参数列表“(Int64)”时
1_291_2476_23658.cpp(21) : error C2668: “sqrt” : 对重载函数的调用不明确
        VC\include\math.h(626): 可能是“long double sqrt(long double)”
        VC\include\math.h(578): 或       “float sqrt(float)”
        VC\include\math.h(200): 或       “double sqrt(double)”
        试图匹配参数列表“(Int64)”时


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-09-30 10:32:43, Gzip enabled