0_0_33551929_16833.cpp:4:8: error: 'N' was not declared in this scope
int t[N<<2];
^
0_0_33551929_16833.cpp: In member function 'void SegmentTree::build(int, int, int, int*)':
0_0_33551929_16833.cpp:6:12: error: 't' was not declared in this scope
if(l==r){t[x]=tmp[l];return;}
^
0_0_33551929_16833.cpp:8:3: error: 't' was not declared in this scope
t[x]=min(t[x<<1],t[x<<1|1]);
^
0_0_33551929_16833.cpp:8:29: error: 'min' was not declared in this scope
t[x]=min(t[x<<1],t[x<<1|1]);
^
0_0_33551929_16833.cpp: In member function 'int SegmentTree::query(int, int, int, int, int)':
0_0_33551929_16833.cpp:11:26: error: 't' was not declared in this scope
if(ql<=l&&qr>=r)return t[x];
^
0_0_33551929_16833.cpp:14: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_33551929_16833.cpp: In member function 'void SegmentTree::chg(int, int, int, int, int)':
0_0_33551929_16833.cpp:17:12: error: 't' was not declared in this scope
if(l==r){t[x]=s;return;}
^
0_0_33551929_16833.cpp:20:3: error: 't' was not declared in this scope
t[x]=min(t[x<<1],t[x<<1|1]);
^
0_0_33551929_16833.cpp:20:29: error: 'min' was not declared in this scope
t[x]=min(t[x<<1],t[x<<1|1]);
^
|