bitaro.cpp: In function 'void dfs(int)':
bitaro.cpp:31:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | for (int i = 0; i < g[v].size(); i ++)
| ~~^~~~~~~~~~~~~
bitaro.cpp:36:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | while((idx1 < d[u].size() || idx2 < d[v].size()) && k.size() < block_sz + 1)
| ~~~~~^~~~~~~~~~~~~
bitaro.cpp:36:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | while((idx1 < d[u].size() || idx2 < d[v].size()) && k.size() < block_sz + 1)
| ~~~~~^~~~~~~~~~~~~
bitaro.cpp:36:70: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
36 | while((idx1 < d[u].size() || idx2 < d[v].size()) && k.size() < block_sz + 1)
| ~~~~~~~~~^~~~~~~~~~~~~~
bitaro.cpp:38:22: 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 | if (idx1 == d[u].size())
| ~~~~~^~~~~~~~~~~~~~
bitaro.cpp:47: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]
47 | else if (idx2 == d[v].size())
| ~~~~~^~~~~~~~~~~~~~
bitaro.cpp:78: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]
78 | for (int j = 0; j < k.size(); j ++)
| ~~^~~~~~~~~~
bitaro.cpp: In function 'void solve_dp(int)':
bitaro.cpp:91:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
91 | for (int i = 0; i < g[v].size(); i ++)
| ~~^~~~~~~~~~~~~
bitaro.cpp: In function 'void solve()':
bitaro.cpp:140:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
140 | while(idx < d[t].size() && blocked[d[t][idx].second])
| ~~~~^~~~~~~~~~~~~
bitaro.cpp:143:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
143 | if (idx == d[t].size())
| ~~~~^~~~~~~~~~~~~~
bitaro.cpp:149:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
149 | for (int j = 0; j < y; j ++)
| ^~~
bitaro.cpp:151:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
151 | sp.clear();
| ^~