bitaro.cpp: In function 'std::vector<std::pair<int, int> > merge(std::vector<std::pair<int, int> >, std::vector<std::pair<int, int> >)':
bitaro.cpp:25:23: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
25 | while (res.size() < BLOCK) {
| ~~~~~~~~~~~^~~~~~~
bitaro.cpp:26:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | if (L < A.size() && R < B.size()) {
| ~~^~~~~~~~~~
bitaro.cpp:26:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | if (L < A.size() && R < B.size()) {
| ~~^~~~~~~~~~
bitaro.cpp:38:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | else if (L < A.size()) {
| ~~^~~~~~~~~~
bitaro.cpp:43:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | else if (R < B.size()) {
| ~~^~~~~~~~~~
bitaro.cpp:50:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
50 | for (pii P : res) mark[P.s] = false; return res;
| ^~~
bitaro.cpp:50:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
50 | for (pii P : res) mark[P.s] = false; return res;
| ^~~~~~
bitaro.cpp: In function 'void genDP(int)':
bitaro.cpp:59:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
59 | for (int i = 0; i < V.size(); i++) V[i].f++;
| ~~^~~~~~~~~~