/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'bool SPFA(int, int)':
/in/foo.cc:91:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<edgenode>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   91 |         for (int z = 0; z < edge[x].size(); z++) {
      |                         ~~^~~~~~~~~~~~~~~~
/in/foo.cc: In function 'newpair ZKW_DFS(int, int, int)':
/in/foo.cc:146:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<edgenode>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  146 |     for (int& z = head[x]; z < edge[x].size(); z++) {
      |                            ~~^~~~~~~~~~~~~~~~
/in/foo.cc: In function 'void costflow()':
/in/foo.cc:174:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  174 |         while (ans = ZKW_DFS(0, st, inf)) {
      |                ~~~~^~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 8ms 6.465 MiB
#2 Accepted 12ms 6.461 MiB
#3 Time Exceeded ≥1001ms ≥6.531 MiB
#4 Time Exceeded ≥1003ms ≥6.621 MiB
#5 Time Exceeded ≥1001ms ≥6.941 MiB
#6 Time Exceeded ≥1002ms ≥7.277 MiB
#7 Time Exceeded ≥1000ms ≥9.777 MiB
#8 Time Exceeded ≥1001ms ≥16.918 MiB
#9 Time Exceeded ≥1000ms ≥41.734 MiB
#10 Time Exceeded ≥1000ms ≥41.734 MiB

信息

递交者
类型
递交
题目
P1487 景点中心
语言
C++
递交时间
2025-02-14 23:26:18
评测时间
2025-02-14 23:26:18
评测机
分数
20
总耗时
≥8033ms
峰值内存
≥41.734 MiB