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_19528597_22776.cpp:8:3: error: 'cmp' does not name a type
 };cmp[10000];
   ^
0_0_19528597_22776.cpp:9:15: error: redefinition of 's cmp'
 int f(s cmp,s cmp)
               ^
0_0_19528597_22776.cpp:9:9: note: 's cmp' previously declared here
 int f(s cmp,s cmp)
         ^
0_0_19528597_22776.cpp: In function 'int f(s)':
0_0_19528597_22776.cpp:11:12: error: 'z' was not declared in this scope
  return    z.b<z.b;
            ^
0_0_19528597_22776.cpp: In function 'int main()':
0_0_19528597_22776.cpp:22:19: error: 'cmp' was not declared in this scope
 scanf("%d %d %d",&cmp[i].b,&cmp[i].f,&cmp[i].j);
                   ^
0_0_19528597_22776.cpp:23:21: error: 'cmp' was not declared in this scope
                sort(cmp,cmp+c,f);
                     ^
0_0_19528597_22776.cpp:30:24: error: 'a' was not declared in this scope
                     if(a[i].f>=sum)
                        ^


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 16:41:01, Gzip enabled