记录详情

Runtime Error

/in/foo.cc: In function 'int findMaxxiabiao(std::vector<int>&)':
/in/foo.cc:8:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i = 0;i < v.size();i++)
                ~~^~~~~~~~~~
/in/foo.cc: In function 'std::vector<int> findMax(std::vector<int>&)':
/in/foo.cc:24:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i = 0;i < v.size();i++)
                ~~^~~~~~~~~~
/in/foo.cc:32:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i = 0;i < v.size();i++)
                ~~^~~~~~~~~~
/in/foo.cc:23:6: warning: variable 'temp' set but not used [-Wunused-but-set-variable]
  int temp = -1;
      ^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:62:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int k = 0;k < max.size();k++)
                 ~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Runtime Error 1ms 424.0 KiB
#2 Runtime Error 1ms 416.0 KiB
#3 Accepted 1ms 332.0 KiB
#4 Accepted 3ms 496.0 KiB
#5 Wrong Answer 1ms 328.0 KiB

信息

递交者
类型
递交
比赛
泰院2401程序设计基础作业赛第八场
语言
C++
递交时间
2024-12-08 23:51:42
评测时间
2024-12-08 23:51:42
评测机
分数
40
总耗时
10ms
峰值内存
496.0 KiB