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

1092153_0_0_31502.cpp
1092153_0_0_31502.cpp(13) : 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)”时
1092153_0_0_31502.cpp(13) : error C2659: “=” : 作为左操作数的重载函数
1092153_0_0_31502.cpp(14) : error C2563: 在形参表中不匹配
1092153_0_0_31502.cpp(14) : error C2568: “+” : 无法解析函数重载
        VC\include\xutility(1265): 可能是“const _Ty &std::min(const _Ty &,const _Ty &,_Pr)”
        VC\include\xutility(1257): 或       “const _Ty &std::min(const _Ty &,const _Ty &)”
1092153_0_0_31502.cpp(15) : error C2440: “初始化” : 无法从“overloaded-function”转换为“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-23 09:16:21, Gzip enabled