记录详情

Memory Exceeded

/in/foo.cc: In function 'int JudgeFamily(std::vector<int>&)':
/in/foo.cc:9:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i=0;i<numbers.size();i++)
          ~^~~~~~~~~~~~~~~
/in/foo.cc: In function 'void CountNumberOfFamily(std::vector<int>&, int&)':
/in/foo.cc:32:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(i=0;i<numbers.size();i++)
           ~^~~~~~~~~~~~~~~
/in/foo.cc:41:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(i=0;i<numbers.size();i++)
           ~^~~~~~~~~~~~~~~
/in/foo.cc:46:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   while(i<numbers.size() && number_2!=1)
         ~^~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:60:13: warning: unused variable 'family' [-Wunused-variable]
  int number,family,count=0;
             ^~~~~~
# 状态 耗时 内存占用
#1 Memory Exceeded ≥216ms ≥128.0 MiB
#2 Memory Exceeded ≥355ms ≥128.0 MiB

信息

递交者
类型
递交
题目
P1190 斯芬克斯
比赛
2020年互联网创新创业科技节程序设计大赛
语言
C++
递交时间
2020-12-09 16:21:27
评测时间
2020-12-09 16:21:27
评测机
分数
0
总耗时
≥572ms
峰值内存
≥128.0 MiB