split.cpp: In function 'void bfs(int, int)':
split.cpp:12:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | #define rep(i,a,b) for(int i = a; i<b; i++)
......
35 | rep(i,0,ans.size()){
| ~~~~~~~~~~~~~~
split.cpp:35:2: note: in expansion of macro 'rep'
35 | rep(i,0,ans.size()){
| ^~~
split.cpp: In function 'std::vector<int> find_split(int, int, int, int, std::vector<int>, std::vector<int>)':
split.cpp:12:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | #define rep(i,a,b) for(int i = a; i<b; i++)
......
47 | rep(i,0,p.size()){
| ~~~~~~~~~~~~
split.cpp:47:2: note: in expansion of macro 'rep'
47 | rep(i,0,p.size()){
| ^~~