/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'bool check(Graph, long long int, std::vector<Army>, int)':
/in/foo.cc:169:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (remain.size() > map.NodeTable[1].army)
      ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:174: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:177:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int k = j; k < remain.size(); k++)
                   ~~^~~~~~~~~~~~~~~
/in/foo.cc:200:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (root.size() - i - 1 < remainsize)
       ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 2.082 MiB
#2 Accepted 5ms 2.137 MiB
#3 Accepted 5ms 2.129 MiB
#4 Accepted 7ms 2.191 MiB
#5 Accepted 6ms 2.156 MiB
#6 Accepted 45ms 2.797 MiB
#7 Accepted 29ms 2.543 MiB
#8 Accepted 168ms 4.367 MiB
#9 Time Exceeded ≥2005ms ≥9.652 MiB
#10 Accepted 2ms 1.199 MiB

信息

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