F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-10-06 19:26:54, Gzip enabled