记录详情

Accepted

foo.cc: In function 'void add_edge(int, int, int, int)':
foo.cc:16:40: warning: narrowing conversion of 'g[to].std::vector<edge>::size()' from 'std::vector<edge>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
   16 |     edge a = { to, cap, cost,g[to].size() };
      |                              ~~~~~~~~~~^~
foo.cc:18:44: warning: narrowing conversion of '(g[from].std::vector<edge>::size() - 1)' from 'std::vector<edge>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
   18 |     edge b = { from,0,-cost,g[from].size() - 1 };
      |                             ~~~~~~~~~~~~~~~^~~
foo.cc: In function 'int min_cost_flow(int, int, int)':
foo.cc:36:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   36 |                 for (i = 0; i < g[v].size(); i++)
      |                             ~~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 1.121 MiB
#2 Accepted 3ms 1.125 MiB
#3 Accepted 3ms 1.125 MiB
#4 Accepted 3ms 1.125 MiB
#5 Accepted 2ms 1.125 MiB
#6 Accepted 4ms 1.125 MiB
#7 Accepted 2ms 1.125 MiB
#8 Accepted 3ms 1.125 MiB
#9 Accepted 2ms 1.125 MiB
#10 Accepted 3ms 1.125 MiB
#11 Accepted 2ms 1.125 MiB
#12 Accepted 3ms 1.125 MiB
#13 Accepted 2ms 1.125 MiB
#14 Accepted 2ms 1.125 MiB
#15 Accepted 3ms 1.125 MiB
#16 Accepted 2ms 1.125 MiB
#17 Accepted 3ms 1.125 MiB
#18 Accepted 2ms 1.125 MiB
#19 Accepted 2ms 1.125 MiB
#20 Accepted 2ms 1.125 MiB
#21 Accepted 2ms 1.125 MiB
#22 Accepted 3ms 1.125 MiB
#23 Accepted 2ms 1.125 MiB
#24 Accepted 3ms 1.125 MiB
#25 Accepted 5ms 1.125 MiB
#26 Accepted 4ms 1.125 MiB
#27 Accepted 3ms 1.125 MiB
#28 Accepted 5ms 1.125 MiB
#29 Accepted 7ms 1.125 MiB
#30 Accepted 4ms 1.25 MiB
#31 Accepted 4ms 1.125 MiB
#32 Accepted 5ms 1.125 MiB
#33 Accepted 4ms 1.125 MiB
#34 Accepted 4ms 1.125 MiB
#35 Accepted 4ms 1.125 MiB
#36 Accepted 4ms 1.125 MiB
#37 Accepted 4ms 1.125 MiB
#38 Accepted 3ms 1.125 MiB
#39 Accepted 4ms 1.125 MiB
#40 Accepted 5ms 1.125 MiB
#41 Accepted 16ms 2.5 MiB
#42 Accepted 6ms 1.5 MiB
#43 Accepted 6ms 1.75 MiB
#44 Accepted 4ms 1.5 MiB
#45 Accepted 9ms 1.75 MiB
#46 Accepted 12ms 2.625 MiB
#47 Accepted 4ms 1.5 MiB
#48 Accepted 8ms 2.25 MiB
#49 Accepted 3ms 1.25 MiB
#50 Accepted 6ms 1.875 MiB

信息

递交者
类型
递交
题目
P1360 5C Speeeeedforces
比赛
悬赏令第五周
语言
C++
递交时间
2022-04-29 17:05:00
评测时间
2022-04-29 17:05:00
评测机
分数
100
总耗时
230ms
峰值内存
2.625 MiB