0_0_39780512_29621.cpp: In function 'void pbs(int, int, std::vector<event>&)':
0_0_39780512_29621.cpp:114:36: error: reference to 'ranges' is ambiguous
114 | int curval = bit.query(ranges[id].fi, ranges[id].se);
| ^~~~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/compare:37,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:65,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algobase.h:64,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/algorithm:60,
from .\stdc++.h:51:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/concepts:179:13: note: candidates are: 'namespace std::ranges { }'
179 | namespace ranges
| ^~~~~~
0_0_39780512_29621.cpp:64:13: note: 'std::vector<std::pair<int, int> > ranges'
64 | vector<pii> ranges;
| ^~~~~~
0_0_39780512_29621.cpp:114:51: error: reference to 'ranges' is ambiguous
114 | int curval = bit.query(ranges[id].fi, ranges[id].se);
| ^~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/concepts:179:13: note: candidates are: 'namespace std::ranges { }'
179 | namespace ranges
| ^~~~~~
0_0_39780512_29621.cpp:64:13: note: 'std::vector<std::pair<int, int> > ranges'
64 | vector<pii> ranges;
| ^~~~~~
0_0_39780512_29621.cpp: In function 'int main()':
0_0_39780512_29621.cpp:167:13: error: reference to 'ranges' is ambiguous
167 | ranges.pb({l, r});
| ^~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/concepts:179:13: note: candidates are: 'namespace std::ranges { }'
179 | namespace ranges
| ^~~~~~
0_0_39780512_29621.cpp:64:13: note: 'std::vector<std::pair<int, int> > ranges'
64 | vector<pii> ranges;
| ^~~~~~
|