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)
^
|