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_25840615_2125.cpp: In function 'int main()':
0_0_25840615_2125.cpp:61:17: error: 'i' was not declared in this scope
             for(i=1;i<=n;i++){
                 ^
0_0_25840615_2125.cpp:62:5: error: 'point' was not declared in this scope
     point tmp; tmp.x=L[i],tmp.y=H[i];
     ^
0_0_25840615_2125.cpp:62:16: error: 'tmp' was not declared in this scope
     point tmp; tmp.x=L[i],tmp.y=H[i];
                ^
0_0_25840615_2125.cpp:63:24: error: expected primary-expression before '+' token
     Li[i]=lower_bound(P+1,P+1+hn,tmp)-P;
                        ^
0_0_25840615_2125.cpp:63:28: error: expected primary-expression before '+' token
     Li[i]=lower_bound(P+1,P+1+hn,tmp)-P;
                            ^
0_0_25840615_2125.cpp:63:40: error: expected primary-expression before ';' token
     Li[i]=lower_bound(P+1,P+1+hn,tmp)-P;
                                        ^
0_0_25840615_2125.cpp:65:24: error: expected primary-expression before '+' token
     Ri[i]=lower_bound(P+1,P+1+hn,tmp)-P;
                        ^
0_0_25840615_2125.cpp:65:28: error: expected primary-expression before '+' token
     Ri[i]=lower_bound(P+1,P+1+hn,tmp)-P;
                            ^
0_0_25840615_2125.cpp:65:40: error: expected primary-expression before ';' token
     Ri[i]=lower_bound(P+1,P+1+hn,tmp)-P;
                                        ^


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-11-17 03:59:47, Gzip enabled