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

925036_0_0_1576.cpp
925036_0_0_1576.cpp(10) : 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)”
        试图匹配参数列表“(long)”时
925036_0_0_1576.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)”
        试图匹配参数列表“(long)”时
925036_0_0_1576.cpp(16) : error C2059: 语法错误 : “if”
925036_0_0_1576.cpp(18) : error C2059: 语法错误 : “else”
925036_0_0_1576.cpp(20) : error C2059: 语法错误 : “}”
925036_0_0_1576.cpp(20) : error C2143: 语法错误 : 缺少“;”(在“}”的前面)
925036_0_0_1576.cpp(20) : error C2059: 语法错误 : “}”
925036_0_0_1576.cpp(21) : error C2143: 语法错误 : 缺少“;”(在“}”的前面)
925036_0_0_1576.cpp(21) : error C2059: 语法错误 : “}”


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:05:00, Gzip enabled