/ Vijos /

记录详情

Accepted

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)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 384.0 KiB
#2 Accepted 5ms 384.0 KiB
#3 Accepted 4ms 384.0 KiB
#4 Accepted 4ms 384.0 KiB
#5 Accepted 4ms 384.0 KiB
#6 Accepted 5ms 384.0 KiB
#7 Accepted 3ms 384.0 KiB
#8 Accepted 3ms 384.0 KiB
#9 Accepted 4ms 384.0 KiB
#10 Accepted 4ms 384.0 KiB

信息

递交者
类型
递交
题目
P1524 最小监视代价
语言
C++
递交时间
2022-04-09 14:41:30
评测时间
2022-04-09 14:41:30
评测机
分数
100
总耗时
46ms
峰值内存
384.0 KiB