/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'bool SPFA(int, int)':
/in/foo.cc:97:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<edgenode>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   97 |         for (int z = 0; z < edge[x].size(); z++)
      |                         ~~^~~~~~~~~~~~~~~~
/in/foo.cc: In function 'newpair ZKW_DFS(int, int, int)':
/in/foo.cc:158:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<edgenode>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  158 |     for (int& z = head[x]; z < edge[x].size(); z++)
      |                            ~~^~~~~~~~~~~~~~~~
/in/foo.cc: In function 'void costflow()':
/in/foo.cc:187:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  187 |         while (ans = ZKW_DFS(0, st, inf))
      |                ~~~~^~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 480.0 KiB
#2 Wrong Answer 2ms 500.0 KiB
#3 Accepted 2ms 656.0 KiB
#4 Wrong Answer 4ms 744.0 KiB
#5 Accepted 3ms 788.0 KiB
#6 Accepted 6ms 944.0 KiB
#7 Accepted 15ms 1.355 MiB
#8 Accepted 59ms 2.152 MiB

信息

递交者
类型
递交
题目
P1621 终极情报网
语言
C++
递交时间
2025-02-15 07:51:47
评测时间
2025-02-15 07:51:47
评测机
分数
80
总耗时
96ms
峰值内存
2.152 MiB