foo.cc: In function 'll Dinic()':
foo.cc:58:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
58 | while(ls=dfs(S,T,inf))
| ~~^~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:78:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll' {aka 'long long int'} [-Wformat=]
78 | printf("%d",Dinic());
| ~^ ~~~~~~~
| | |
| int ll {aka long long int}
| %lld
foo.cc:65:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
65 | scanf("%d%d",&n,&m);
| ~~~~~^~~~~~~~~~~~~~
foo.cc:69:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
69 | int a,b,v;scanf("%d%d%d",&a,&b,&v);
| ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:72:13: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
72 | int w;scanf("%d",&w);
| ~~~~~^~~~~~~~~
foo.cc:75:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
75 | int x;scanf("%d",&x);
| ~~~~~^~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务