0_0_39780513_3331.cpp: In function 'void pbs(int, int, std::vector<event>&)':
0_0_39780513_3331.cpp:114:37: error: invalid types 'int[int]' for array subscript
114 | int curval = bit.query(r[id].fi, r[id].se);
| ^
0_0_39780513_3331.cpp:114:47: error: invalid types 'int[int]' for array subscript
114 | int curval = bit.query(r[id].fi, r[id].se);
| ^
0_0_39780513_3331.cpp: In function 'int main()':
0_0_39780513_3331.cpp:10:12: error: request for member 'push_back' in 'r', which is of non-class type 'int'
10 | #define pb push_back
| ^~~~~~~~~
0_0_39780513_3331.cpp:167:15: note: in expansion of macro 'pb'
167 | r.pb({l, r});
| ^~
|