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_39356279_20249.cpp
0_0_39356279_20249.cpp(8) : error C2668: “sqrt”: 对重载函数的调用不明确
        VC2013\INCLUDE\math.h(1251): 可能是“long double sqrt(long double) throw()”
        VC2013\INCLUDE\math.h(1135): 或       “float sqrt(float) throw()”
        VC2013\INCLUDE\math.h(521): 或       “double sqrt(double)”
        尝试匹配参数列表“(int)”时
0_0_39356279_20249.cpp(26) : error C2014: 预处理器命令必须作为第一个非空白空间启动
0_0_39356279_20249.cpp(30) : error C2084: 函数“int prime(int)”已有主体
        0_0_39356279_20249.cpp(4) : 参见“prime”的前一个定义
0_0_39356279_20249.cpp(33) : error C2668: “sqrt”: 对重载函数的调用不明确
        VC2013\INCLUDE\math.h(1251): 可能是“long double sqrt(long double) throw()”
        VC2013\INCLUDE\math.h(1135): 或       “float sqrt(float) throw()”
        VC2013\INCLUDE\math.h(521): 或       “double sqrt(double)”
        尝试匹配参数列表“(int)”时
0_0_39356279_20249.cpp(39) : error C2084: 函数“int main(void)”已有主体
        0_0_39356279_20249.cpp(13) : 参见“main”的前一个定义
0_0_39356279_20249.cpp(46) : error C3861: “prime”:  找不到标识符


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-06-26 17:38:36, Gzip enabled