记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:8: warning: unused variable 'x' [-Wunused-variable]
  int n,x,k;
        ^
/in/foo.cc:17:9: warning: 'imax' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<k;
         ^
/in/foo.cc: In function 'int FindiMax(int*, int)':
/in/foo.cc:28:9: warning: 'imax' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return imax;
         ^~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 228.0 KiB
#2 Accepted 1ms 224.0 KiB
#3 Accepted 1ms 228.0 KiB
#4 Wrong Answer 1ms 228.0 KiB
#5 Runtime Error 1ms 220.0 KiB

信息

递交者
类型
递交
比赛
2020苏青奥赛集训营(2021-3-7课后作业)
语言
C++
递交时间
2021-03-07 15:11:47
评测时间
2021-03-07 15:11:47
评测机
分数
40
总耗时
7ms
峰值内存
228.0 KiB