wall.cpp: In function 'void push(int, int, int)':
wall.cpp:10:16: error: 'struct std::pair<int, int>' has no member named 'fi'
10 | if(lazy[node].fi==0 && lazy[node].se==0)return ;
| ^~
wall.cpp:10:36: error: 'struct std::pair<int, int>' has no member named 'se'
10 | if(lazy[node].fi==0 && lazy[node].se==0)return ;
| ^~
wall.cpp:12:21: error: 'mid' was not declared in this scope
12 | push(node*2,start,mid),push(node*2+1,mid+1,end);
| ^~~
wall.cpp:17:17: error: 'struct std::pair<int, int>' has no member named 'fi'
17 | if(lazy[node].fi==1)fin[start]=max(fin[start],lazy[node].se);
| ^~
wall.cpp:17:60: error: 'struct std::pair<int, int>' has no member named 'se'
17 | if(lazy[node].fi==1)fin[start]=max(fin[start],lazy[node].se);
| ^~
wall.cpp:18:45: error: 'struct std::pair<int, int>' has no member named 'se'
18 | else fin[start]=min(fin[start],lazy[node].se);
| ^~
wall.cpp: In function 'void update(int, int, int, int, int, int, int)':
wall.cpp:31:22: error: 'mid' was not declared in this scope
31 | update(node*2,start,mid,l,r,val,sem),update(node*2+1,mid+1,end,l,r,val,sem);
| ^~~
wall.cpp: In function 'void finish(int, int, int)':
wall.cpp:37:22: error: 'mid' was not declared in this scope
37 | finish(node*2,start,mid),finish(node*2+1,mid+1,end);
| ^~~