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