记录详情

Runtime Error

/in/foo.cc: In function 'void GetCount(std::__cxx11::string, int*)':
/in/foo.cc:19:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int i=0; i<s.length()-1; i++)
                 ~^~~~~~~~~~~~~
/in/foo.cc: In function 'int FindMax(int*, int)':
/in/foo.cc:39:9: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return max; 
         ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:33:6: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int max;
      ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 212.0 KiB
#2 Wrong Answer 1ms 220.0 KiB
#3 Wrong Answer 1ms 216.0 KiB
#4 Accepted 1ms 224.0 KiB
#5 Runtime Error 1ms 208.0 KiB

信息

递交者
类型
递交
题目
6-10 哪个字母对用得最多
比赛
2021苏青奥赛集训营(春季结业赛)
语言
C++
递交时间
2021-06-06 14:03:40
评测时间
2021-06-06 14:03:40
评测机
分数
40
总耗时
7ms
峰值内存
224.0 KiB