/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'bool check(Graph, 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:53: 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:197:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (root.size() - i - 1 < remainsize)
       ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 212.0 KiB
#2 Time Exceeded ≥2001ms ≥220.0 KiB
#3 Time Exceeded ≥2001ms ≥204.0 KiB
#4 Time Exceeded ≥2001ms ≥348.0 KiB
#5 Time Exceeded ≥2002ms ≥332.0 KiB
#6 Time Exceeded ≥2001ms ≥1.07 MiB
#7 Time Exceeded ≥2002ms ≥696.0 KiB
#8 Time Exceeded ≥2001ms ≥2.906 MiB
#9 Time Exceeded ≥2002ms ≥8.512 MiB
#10 Accepted 2ms 212.0 KiB

信息

递交者
类型
递交
题目
P1783 疫情控制
语言
C++
递交时间
2020-12-27 14:45:25
评测时间
2020-12-27 14:45:25
评测机
分数
20
总耗时
≥16020ms
峰值内存
≥8.512 MiB