记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:27:6: warning: variable 'a2' set but not used [-Wunused-but-set-variable]
  int a2[1000];
      ^~
/in/foo.cc: In function 'int Max(int*, int)':
/in/foo.cc:13:9: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return max;
         ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:34:3: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if(a1[i] == max)
   ^~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 188.0 KiB
#2 Accepted 1ms 192.0 KiB
#3 Accepted 1ms 200.0 KiB
#4 Accepted 1ms 188.0 KiB
#5 Accepted 1ms 184.0 KiB
#6 Runtime Error 2ms 208.0 KiB
#7 Runtime Error 2ms 188.0 KiB
#8 Runtime Error 2ms 192.0 KiB
#9 Runtime Error 2ms 200.0 KiB
#10 Runtime Error 2ms 192.0 KiB

信息

递交者
类型
递交
题目
2 取最大数的博弈游戏
比赛
小兰赛 2018/12/2
语言
C++
递交时间
2018-12-02 10:53:04
评测时间
2018-12-02 10:53:04
评测机
分数
40
总耗时
20ms
峰值内存
208.0 KiB