/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'bool check(Graph, 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 2ms 596.0 KiB
#2 Wrong Answer 9ms 624.0 KiB
#3 Accepted 40ms 624.0 KiB
#4 Wrong Answer 200ms 684.0 KiB
#5 Wrong Answer 679ms 588.0 KiB
#6 Runtime Error 9ms 596.0 KiB
#7 Runtime Error 9ms 596.0 KiB
#8 Runtime Error 9ms 596.0 KiB
#9 Runtime Error 8ms 596.0 KiB
#10 Accepted 1ms 340.0 KiB

信息

递交者
类型
递交
题目
P1783 疫情控制
语言
C++
递交时间
2020-12-27 17:04:06
评测时间
2020-12-27 17:04:06
评测机
分数
30
总耗时
972ms
峰值内存
684.0 KiB