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

846017_0_0_22797.cpp
846017_0_0_22797.cpp(31) : error C2664: “qsort” : 不能将参数 4 从“int (const c *,const c *)”转换为“int (__cdecl *)(const void *,const void *)”
        在匹配目标类型的范围内没有具有该名称的函数
846017_0_0_22797.cpp(54) : error C2011: “c” : “struct”类型重定义
        846017_0_0_22797.cpp(6) : 参见“c”的声明
846017_0_0_22797.cpp(61) : error C2084: 函数“int cmp(const c *,const c *)”已有主体
        846017_0_0_22797.cpp(12) : 参见“cmp”的前一个定义
846017_0_0_22797.cpp(69) : error C2084: 函数“int main(void)”已有主体
        846017_0_0_22797.cpp(20) : 参见“main”的前一个定义
846017_0_0_22797.cpp(79) : error C3861: “cmp”: 即使使用参数相关的查找,也未找到标识符


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-26 22:05:18, Gzip enabled