记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:6:14: warning: unused variable 'x' [-Wunused-variable]
  int m,n,i,j,x;
              ^
/in/foo.c:6:12: warning: unused variable 'j' [-Wunused-variable]
  int m,n,i,j,x;
            ^
/in/foo.c:27:5: warning: 'amin' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if(a[i]>amin && a[i]<0)
     ^
/in/foo.c:19:8: note: 'amin' was declared here
  int i,amin;
        ^~~~
/in/foo.c:27:5: warning: 'amin' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if(a[i]>amin && a[i]<0)
     ^
/in/foo.c:19:8: note: 'amin' was declared here
  int i,amin;
        ^~~~
/in/foo.c: In function 'A':
/in/foo.c:27:5: warning: 'amin' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if(a[i]>amin && a[i]<0)
     ^
# 状态 耗时 内存占用
#1 Accepted 0ms 220.0 KiB
#2 Accepted 0ms 228.0 KiB
#3 Accepted 0ms 232.0 KiB
#4 Accepted 0ms 232.0 KiB
#5 Accepted 0ms 216.0 KiB

信息

递交者
类型
递交
题目
A9-3 数组中最大的负数
比赛
基于整数数组的编程技能的进阶训练(一)
语言
C
递交时间
2019-02-17 23:52:48
评测时间
2019-02-17 23:52:48
评测机
分数
100
总耗时
4ms
峰值内存
232.0 KiB