F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_9659185_27790.cpp
0_0_9659185_27790.cpp(19) : error C2668: “fabs” : 对重载函数的调用不明确
        VC\include\math.h(602): 可能是“long double fabs(long double)”
        VC\include\math.h(554): 或       “float fabs(float)”
        VC\include\math.h(190): 或       “double fabs(double)”
        试图匹配参数列表“(int)”时
0_0_9659185_27790.cpp(22) : error C2668: “fabs” : 对重载函数的调用不明确
        VC\include\math.h(602): 可能是“long double fabs(long double)”
        VC\include\math.h(554): 或       “float fabs(float)”
        VC\include\math.h(190): 或       “double fabs(double)”
        试图匹配参数列表“(int)”时
0_0_9659185_27790.cpp(39) : error C2086: “int a[510]” : 重定义
        0_0_9659185_27790.cpp(4) : 参见“a”的声明
0_0_9659185_27790.cpp(41) : error C2084: 函数“int main(void)”已有主体
        0_0_9659185_27790.cpp(5) : 参见“main”的前一个定义
0_0_9659185_27790.cpp(54) : error C2668: “fabs” : 对重载函数的调用不明确
        VC\include\math.h(602): 可能是“long double fabs(long double)”
        VC\include\math.h(554): 或       “float fabs(float)”
        VC\include\math.h(190): 或       “double fabs(double)”
        试图匹配参数列表“(int)”时
0_0_9659185_27790.cpp(57) : error C2668: “fabs” : 对重载函数的调用不明确
        VC\include\math.h(602): 可能是“long double fabs(long double)”
        VC\include\math.h(554): 或       “float fabs(float)”
        VC\include\math.h(190): 或       “double fabs(double)”
        试图匹配参数列表“(int)”时


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-11-01 22:42:43, Gzip enabled