记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:18:9: warning: the address of 'int FindMaxNeg(int, int*)' will never be NULL [-Waddress]
   cout<<FindMaxNeg;
         ^~~~~~~~~~
foo.cc:20:9: warning: the address of 'int FindMaxNeg(int, int*)' will never be NULL [-Waddress]
   cout<<FindMaxNeg;
         ^~~~~~~~~~
foo.cc: In function 'int FindMaxNeg(int, int*)':
foo.cc:32:2: warning: control reaches end of non-void function [-Wreturn-type]
  }
  ^
foo.cc: In function 'int main()':
foo.cc:9:9: warning: 'd' is used uninitialized in this function [-Wuninitialized]
  int b[d];
         ^
foo.cc:10:9: warning: 'e' is used uninitialized in this function [-Wuninitialized]
  int a[e];
         ^
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 1ms 384.0 KiB
#2 Runtime Error Bus error 1ms 384.0 KiB
#3 Runtime Error Bus error 1ms 384.0 KiB
#4 Runtime Error Segmentation fault 1ms 384.0 KiB
#5 Runtime Error Bus error 1ms 384.0 KiB

信息

递交者
类型
递交
题目
A9-3 数组中最大的负数
比赛
2020苏青奥赛集训营(2021-3-7课后作业)
语言
C++
递交时间
2021-03-08 18:38:51
评测时间
2021-03-08 18:38:51
评测机
分数
0
总耗时
9ms
峰值内存
384.0 KiB