记录详情

Accepted

/in/foo.cc: In function 'int findminpos(int*, int)':
/in/foo.cc:17:13: warning: 'min' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if(a[j]<0 && a[j]>min)
      ~~~~~~~^~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:17:13: warning: 'min' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if(a[j]<0 && a[j]>min)
      ~~~~~~~^~~~~~~~~~~
/in/foo.cc:6:6: note: 'min' was declared here
  int min;
      ^~~
/in/foo.cc:17:13: warning: 'min' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if(a[j]<0 && a[j]>min)
      ~~~~~~~^~~~~~~~~~~
/in/foo.cc:6:6: note: 'min' was declared here
  int min;
      ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 348.0 KiB
#2 Accepted 1ms 400.0 KiB
#3 Accepted 1ms 340.0 KiB
#4 Accepted 1ms 376.0 KiB
#5 Accepted 1ms 376.0 KiB

信息

递交者
类型
递交
题目
A9-3 数组中最大的负数
比赛
南师大(含泰州学院)2024年新生赛(第二场之预赛)
语言
C++
递交时间
2024-08-26 20:00:34
评测时间
2024-08-26 20:00:34
评测机
分数
100
总耗时
6ms
峰值内存
400.0 KiB