0_0_22070572_2942.cpp:17:9: error: 'd' was not declared in this scope
int cmp(d a,d b)
^
0_0_22070572_2942.cpp:17:13: error: 'd' was not declared in this scope
int cmp(d a,d b)
^
0_0_22070572_2942.cpp:17:16: error: expression list treated as compound expression in initializer [-fpermissive]
int cmp(d a,d b)
^
0_0_22070572_2942.cpp:18:1: error: expected ',' or ';' before '{' token
{
^
0_0_22070572_2942.cpp: In function 'int main()':
0_0_22070572_2942.cpp:56:13: error: 'a' was not declared in this scope
a[i].u=u;a[i].v=v;a[i].val=val;
^
0_0_22070572_2942.cpp:58:14: error: 'a' was not declared in this scope
sort(a+1,a+m+1,cmp);ans=0;
^
|