/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'bool check(Graph, long long int, std::vector<Army>, int)':
/in/foo.cc:168:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (remain.size() > map.NodeTable[1].army)
      ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:173:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0, j = 0, remainsize = remain.size(); i < root.size(); i++)
                                                     ~~^~~~~~~~~~~~~
/in/foo.cc:176:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int k = j; k < remain.size(); k++)
                   ~~^~~~~~~~~~~~~~~
/in/foo.cc:199:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (root.size() - i - 1 < remainsize)
       ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 3.34 MiB
#2 Accepted 5ms 3.348 MiB
#3 Accepted 5ms 3.348 MiB
#4 Accepted 6ms 3.414 MiB
#5 Accepted 7ms 3.422 MiB
#6 Accepted 47ms 4.02 MiB
#7 Accepted 30ms 3.766 MiB
#8 Accepted 149ms 5.582 MiB
#9 Time Exceeded ≥2003ms ≥10.059 MiB
#10 Accepted 2ms 980.0 KiB

信息

递交者
类型
递交
题目
P1783 疫情控制
语言
C++
递交时间
2020-12-27 19:04:55
评测时间
2020-12-27 19:04:55
评测机
分数
90
总耗时
≥2261ms
峰值内存
≥10.059 MiB