foo.cc: In member function 'void MCMF::init(int)':
foo.cc:38:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
38 | for (int i = 0; i < n; i += 1)G[i].clear(); edges.clear();
| ^~~
foo.cc:38:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
38 | for (int i = 0; i < n; i += 1)G[i].clear(); edges.clear();
| ^~~~~
foo.cc: In member function 'bool MCMF::BellmanFord(int, int, int&, int&)':
foo.cc:59:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
59 | for (int i = 0; i < G[u].size(); i += 1){
| ~~^~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:97:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
97 | scanf("%d %d %d %d %d %d", &n, &a, &b, &f, &fa, &fb);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:101:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
101 | scanf("%d", &tmp);
| ~~~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务