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_24182419_12998.cpp: In function 'int main()':
0_0_24182419_12998.cpp:70:13: error: 'b' was not declared in this scope
             b[i]=a[i];  
             ^
0_0_24182419_12998.cpp:74:29: error: 'l' was not declared in this scope
             scanf("%d%d%d", l+i, r+i, h+i);  
                             ^
0_0_24182419_12998.cpp:74:34: error: 'r' was not declared in this scope
             scanf("%d%d%d", l+i, r+i, h+i);  
                                  ^
0_0_24182419_12998.cpp:74:39: error: 'h' was not declared in this scope
             scanf("%d%d%d", l+i, r+i, h+i);  
                                       ^
0_0_24182419_12998.cpp:75:13: error: 'b' was not declared in this scope
             b[n+1+i]=h[i];  
             ^
0_0_24182419_12998.cpp:77:14: error: 'b' was not declared in this scope
         sort(b+1, b+1+n+m);  
              ^
0_0_24182419_12998.cpp:78:9: error: 'N' was not declared in this scope
         N=unique(b+1, b+1+n+m)-b-1;  
         ^
0_0_24182419_12998.cpp:89:43: error: 'h' was not declared in this scope
             int v=lower_bound(b+1, b+1+N, h[i])-b;  
                                           ^
0_0_24182419_12998.cpp:90:37: error: 'l' was not declared in this scope
             printf("%d\n", ask(root[l[i]], root[r[i]+1],1,N,v));  
                                     ^
0_0_24182419_12998.cpp:90:49: error: 'r' was not declared in this scope
             printf("%d\n", ask(root[l[i]], root[r[i]+1],1,N,v));  
                                                 ^


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-29 02:41:05, Gzip enabled