0_0_33551864_24069.cpp:4:8: error: 'N' was not declared in this scope
int t[N<<2];
^
0_0_33551864_24069.cpp: In member function 'void SegmentTree::build(int, int, int, int*)':
0_0_33551864_24069.cpp:6:12: error: 't' was not declared in this scope
if(l==r){t[x]=tar[l];return;}
^
0_0_33551864_24069.cpp:8:3: error: 't' was not declared in this scope
t[x]=min(t[x<<1],t[x<<1|1]);
^
0_0_33551864_24069.cpp:8:29: error: 'min' was not declared in this scope
t[x]=min(t[x<<1],t[x<<1|1]);
^
0_0_33551864_24069.cpp: In member function 'int SegmentTree::query(int, int, int, int, int)':
0_0_33551864_24069.cpp:11:29: error: 'n' was not declared in this scope
assert(1<=ql&&ql<=qr&&qr<=n);
^
0_0_33551864_24069.cpp:11:30: error: 'assert' was not declared in this scope
assert(1<=ql&&ql<=qr&&qr<=n);
^
0_0_33551864_24069.cpp:12:26: error: 't' was not declared in this scope
if(ql<=l&&qr>=r)return t[x];
^
0_0_33551864_24069.cpp:15:65: error: 'min' was not declared in this scope
return min(query(x<<1,l,mid,ql,qr),query(x<<1|1,mid+1,r,ql,qr));
^
0_0_33551864_24069.cpp: In member function 'void SegmentTree::chg(int, int, int, int, int)':
0_0_33551864_24069.cpp:18:12: error: 't' was not declared in this scope
if(l==r){t[x]=s;return;}
^
0_0_33551864_24069.cpp:21:3: error: 't' was not declared in this scope
t[x]=min(t[x<<1],t[x<<1|1]);
^
0_0_33551864_24069.cpp:21:29: error: 'min' was not declared in this scope
t[x]=min(t[x<<1],t[x<<1|1]);
^
|