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_1652609_15800.cpp
0_0_1652609_15800.cpp(61) : 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)”
        试图匹配参数列表“(int)”时
0_0_1652609_15800.cpp(110) : error C2086: “int NumOfVertex” : 重定义
        0_0_1652609_15800.cpp(7) : 参见“NumOfVertex”的声明
0_0_1652609_15800.cpp(111) : error C2086: “int count” : 重定义
        0_0_1652609_15800.cpp(8) : 参见“count”的声明
0_0_1652609_15800.cpp(112) : error C2086: “double sum” : 重定义
        0_0_1652609_15800.cpp(9) : 参见“sum”的声明
0_0_1652609_15800.cpp(113) : error C2086: “double Graph[105][105]” : 重定义
        0_0_1652609_15800.cpp(10) : 参见“Graph”的声明
0_0_1652609_15800.cpp(116) : error C2011: “Point” : “struct”类型重定义
        0_0_1652609_15800.cpp(13) : 参见“Point”的声明
0_0_1652609_15800.cpp(122) : error C2084: 函数“void Prim(void)”已有主体
        0_0_1652609_15800.cpp(18) : 参见“Prim”的前一个定义
0_0_1652609_15800.cpp(162) : error C2084: 函数“double dist(Point,Point)”已有主体
        0_0_1652609_15800.cpp(58) : 参见“dist”的前一个定义
0_0_1652609_15800.cpp(164) : 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)”
        试图匹配参数列表“(int)”时
0_0_1652609_15800.cpp(171) : error C2084: 函数“int main(void)”已有主体
        0_0_1652609_15800.cpp(67) : 参见“main”的前一个定义
0_0_1652609_15800.cpp(194) : error C2568: “*” : 无法解析函数重载
        0_0_1652609_15800.cpp(58): 可能是“double dist(Point,Point)”
0_0_1652609_15800.cpp(194) : error C3861: “dist”: 即使使用参数相关的查找,也未找到标识符
0_0_1652609_15800.cpp(196) : error C3861: “Prim”: 即使使用参数相关的查找,也未找到标识符


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-07-04 18:03:29, Gzip enabled