/ Vijos /

记录详情

Accepted

foo.cc: In function 'bool bfs()':
foo.cc:44:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   44 | for( register int i = 0 ; i < linker[ now ].size() ; i++ )
      |                           ~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc: In function 'int dinic(int, int)':
foo.cc:54:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   54 | for( register int i = cur[ now ] ; i < linker[ now ].size() ; i++ )
      |                                    ~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:79:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   79 | while( bfs() ) while( temp = dinic( s , inf ) ) ans -= temp;
      |                       ~~~~~^~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 6ms 2.027 MiB
#2 Accepted 7ms 2.027 MiB
#3 Accepted 8ms 2.152 MiB
#4 Accepted 9ms 2.141 MiB
#5 Accepted 8ms 2.152 MiB
#6 Accepted 9ms 2.152 MiB
#7 Accepted 9ms 2.188 MiB
#8 Accepted 10ms 2.152 MiB
#9 Accepted 205ms 8.285 MiB
#10 Accepted 203ms 8.324 MiB

信息

递交者
类型
递交
题目
P1352 最大获利
语言
C++
递交时间
2023-07-26 13:48:29
评测时间
2023-07-26 13:48:29
评测机
分数
100
总耗时
479ms
峰值内存
8.324 MiB