0_0_33140584_27750.cpp: In function 'int work()':
0_0_33140584_27750.cpp:91:23: error: 'n' was not declared in this scope
scanf("%d%d",&n,&m),init();
^
0_0_33140584_27750.cpp:91:26: error: 'm' was not declared in this scope
scanf("%d%d",&n,&m),init();
^
0_0_33140584_27750.cpp:91:34: error: 'init' was not declared in this scope
scanf("%d%d",&n,&m),init();
^
0_0_33140584_27750.cpp:92: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_33140584_27750.cpp:93: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_33140584_27750.cpp:94:14: error: 'a' was not declared in this scope
sort(a+1,a+1+n),sort(b+1,b+1+m);
^
0_0_33140584_27750.cpp:94:30: error: 'b' was not declared in this scope
sort(a+1,a+1+n),sort(b+1,b+1+m);
^
0_0_33140584_27750.cpp:100:17: error: 'point' was not declared in this scope
point t;
^
0_0_33140584_27750.cpp:101:17: error: 't' was not declared in this scope
t.d[0]=a[head].x;
^
0_0_33140584_27750.cpp:104:24: error: 'root' was not declared in this scope
insert(root,0,t);
^
0_0_33140584_27750.cpp:104:32: error: 'insert' was not declared in this scope
insert(root,0,t);
^
0_0_33140584_27750.cpp:107:13: error: 'point' was not declared in this scope
point t; t.d[0]=b[i].x,t.d[1]=b[i].y;
^
0_0_33140584_27750.cpp:107:22: error: 't' was not declared in this scope
point t; t.d[0]=b[i].x,t.d[1]=b[i].y;
^
0_0_33140584_27750.cpp:108:13: error: 'ans' was not declared in this scope
ans=linf,id=n+1,query(root,t);
^
0_0_33140584_27750.cpp:108:22: error: 'id' was not declared in this scope
ans=linf,id=n+1,query(root,t);
^
0_0_33140584_27750.cpp:108:35: error: 'root' was not declared in this scope
ans=linf,id=n+1,query(root,t);
^
0_0_33140584_27750.cpp:108:41: error: 'query' was not declared in this scope
ans=linf,id=n+1,query(root,t);
^
0_0_33140584_27750.cpp:111:24: error: '_cmp' was not declared in this scope
sort(a+1,a+1+n,_cmp);
^
|