记录详情

Wrong Answer

/in/foo.cc: In function 'void Output(int*, int)':
/in/foo.cc:20:6: warning: value computed is not used [-Wunused-value]
   a[i];
   ~~~^
/in/foo.cc:20:6: warning: statement has no effect [-Wunused-value]
/in/foo.cc: In function 'int FindMin(int*, int)':
/in/foo.cc:14:9: warning: 'min' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return min;
         ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:32:8: warning: 'min' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<min<<endl;
        ^~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 356.0 KiB

信息

递交者
类型
自测
题目
A7-2 数组的极值函数
语言
C++
递交时间
2024-11-11 16:44:24
评测时间
2024-11-11 16:44:24
评测机
分数
0
总耗时
1ms
峰值内存
356.0 KiB