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_33140608_27119.cpp: In function 'int work()':
0_0_33140608_27119.cpp:149:34: error: 'init' was not declared in this scope
         scanf("%d%d",&n,&m),init();
                                  ^
0_0_33140608_27119.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_33140608_27119.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_33140608_27119.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_33140608_27119.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_33140608_27119.cpp:166:13: error: 'ans' was not declared in this scope
             ans=linf,id=n+1,query(root,t);
             ^
0_0_33140608_27119.cpp:166:22: error: 'id' was not declared in this scope
             ans=linf,id=n+1,query(root,t);
                      ^
0_0_33140608_27119.cpp:166:41: error: 'query' was not declared in this scope
             ans=linf,id=n+1,query(root,t);
                                         ^
0_0_33140608_27119.cpp:169: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 17:19:35, Gzip enabled