event2.cpp: In function 'int test(int, int)':
event2.cpp:15:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx1998::vector<node, std::allocator<node> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | for (int i=0; i<a.size(); i++){
| ~^~~~~~~~~
event2.cpp: In function 'void erase_inter(int, int)':
event2.cpp:27:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx1998::vector<node, std::allocator<node> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | for (int i=0; i<a.size(); i++){
| ~^~~~~~~~~
event2.cpp: In function 'int main()':
event2.cpp:45:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx1998::vector<node, std::allocator<node> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | for (int i=0; i<a.size(); i++){
| ~^~~~~~~~~
event2.cpp:58:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx1998::vector<node, std::allocator<node> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
58 | for (int i=0; i<a.size(); i++){
| ~^~~~~~~~~
event2.cpp:62:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx1998::vector<int, std::allocator<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | for (int i=0; i<pos.size(); i++){
| ~^~~~~~~~~~~