foo.cc: In function ‘bool SPFA(int, int)’:
foo.cc:97:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<edgenode>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
97 | for (int z = 0; z < edge[x].size(); z++)
| ~~^~~~~~~~~~~~~~~~
foo.cc: In function ‘newpair ZKW_DFS(int, int, int)’:
foo.cc:158:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<edgenode>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
158 | for (int& z = head[x]; z < edge[x].size(); z++)
| ~~^~~~~~~~~~~~~~~~
foo.cc: In function ‘void costflow()’:
foo.cc:187:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
187 | while (ans = ZKW_DFS(0, st, inf))
| ~~~~^~~~~~~~~~~~~~~~~~~~~