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

532725_0_0_11278.cpp
532725_0_0_11278.cpp(23) : error C2556: “float gcd(int,int)” : 重载函数与“ int gcd(int,int)”只是在返回类型上不同
        532725_0_0_11278.cpp(4) : 参见“gcd”的声明
532725_0_0_11278.cpp(23) : error C2371: “gcd” : 重定义;不同的基类型
        532725_0_0_11278.cpp(4) : 参见“gcd”的声明
532725_0_0_11278.cpp(26) : error C3861: “gcd”: 即使使用参数相关的查找,也未找到标识符
532725_0_0_11278.cpp(27) : error C3861: “gcd”: 即使使用参数相关的查找,也未找到标识符
532725_0_0_11278.cpp(32) : error C2568: “/” : 无法解析函数重载
        532725_0_0_11278.cpp(4): 可能是“int gcd(int,int)”
532725_0_0_11278.cpp(32) : error C3861: “gcd”: 即使使用参数相关的查找,也未找到标识符


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-12-05 10:27:33, Gzip enabled