0_0_33140607_8542.cpp: In function 'int work()':
0_0_33140607_8542.cpp:149:34: error: 'init' was not declared in this scope
scanf("%d%d",&n,&m),init();
^
0_0_33140607_8542.cpp:150:34: error: 'a' was not declared in this scope
fp(i,1,n)scanf("%d%d%d",&a[i].x,&a[i].y,&a[i].c),a[i].id=i;
^
0_0_33140607_8542.cpp:151:34: error: 'b' was not declared in this scope
fp(i,1,m)scanf("%d%d%d",&b[i].x,&b[i].y,&b[i].c),b[i].id=i;
^
0_0_33140607_8542.cpp:152:14: error: 'a' was not declared in this scope
sort(a+1,a+1+n),sort(b+1,b+1+m);
^
0_0_33140607_8542.cpp:152:30: error: 'b' was not declared in this scope
sort(a+1,a+1+n),sort(b+1,b+1+m);
^
0_0_33140607_8542.cpp:166:13: error: 'ans' was not declared in this scope
ans=linf,id=n+1,query(root,t);
^
0_0_33140607_8542.cpp:166:22: error: 'id' was not declared in this scope
ans=linf,id=n+1,query(root,t);
^
0_0_33140607_8542.cpp:166:41: error: 'query' was not declared in this scope
ans=linf,id=n+1,query(root,t);
^
0_0_33140607_8542.cpp:169:24: error: '_cmp' was not declared in this scope
sort(a+1,a+1+n,_cmp);
^
|