0_0_20202488_21241.cpp: In function 'int cmp(node, node)':
0_0_20202488_21241.cpp:16:12: error: 'xx' was not declared in this scope
return xx.z<yy.z;
^
0_0_20202488_21241.cpp:16:17: error: 'yy' was not declared in this scope
return xx.z<yy.z;
^
0_0_20202488_21241.cpp: In function 'int main()':
0_0_20202488_21241.cpp:33:13: error: 'A' was not declared in this scope
A[i]=i;
^
0_0_20202488_21241.cpp:36:29: error: 'pr' was not declared in this scope
scanf("%d%d%d",&pr[i].x,&pr[i].y,&pr[i].v);
^
0_0_20202488_21241.cpp:38:14: error: 'pr' was not declared in this scope
sort(pr,pr+b,cmp);
^
0_0_20202488_21241.cpp: In lambda function:
0_0_20202488_21241.cpp:41:24: error: expected '{' before '.' token
if(find([i].x)!=find(pr[i].y))
^
0_0_20202488_21241.cpp: In function 'int main()':
0_0_20202488_21241.cpp:41:25: error: 'struct main()::<lambda()>' has no member named 'x'
if(find([i].x)!=find(pr[i].y))
^
0_0_20202488_21241.cpp:43:17: error: 'A' was not declared in this scope
A[find(pr[i].x)]=find(pr[i].y);
^
|