记录详情

Memory Exceeded

foo.cc: In function 'void digui(std::vector<int>, std::vector<std::vector<int> >, int, int&)':
foo.cc:12:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   12 |  for(int i = 1;i<test.size();i++)
      |                ~^~~~~~~~~~~~
foo.cc:19:14: warning: comparison of integer expressions of different signedness: 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   19 |  if(cd.size()<t)
      |     ~~~~~~~~~^~
foo.cc:23:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   23 |  for(int i = 0;i<cd.size();i++)
      |                ~^~~~~~~~~~
foo.cc:25:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   25 |   for(int j = 0;j<cd[0].size();j++)
      |                 ~^~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:39:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
   39 |  freopen("test.txt","r",stdin);
      |  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -2147483648, expect 3. 2ms 384.0 KiB
#2 Time Exceeded ≥95ms ≥16.016 MiB
#3 Time Exceeded ≥98ms ≥16.016 MiB
#4 Memory Exceeded ≥282ms ≥16.016 MiB
#5 Wrong Answer Read -2147483648, expect 3. 2ms 384.0 KiB
#6 Wrong Answer Read -2147483648, expect 3. 3ms 384.0 KiB
#7 Time Exceeded ≥302ms ≥16.016 MiB
#8 Time Exceeded ≥516ms ≥16.016 MiB
#9 Time Exceeded ≥508ms ≥16.016 MiB
#10 Time Exceeded ≥518ms ≥16.016 MiB

信息

递交者
类型
递交
题目
P1331 糖果
比赛
2022春季 荣誉练习赛1(2019蓝桥A组省赛重温)
语言
C++
递交时间
2022-03-19 23:59:23
评测时间
2022-03-19 23:59:23
评测机
分数
0
总耗时
≥2330ms
峰值内存
≥16.016 MiB