记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:10:36: warning: unused variable 'imin2' [-Wunused-variable]
  int a[10000],b[10000],n1,n2,imin1,imin2;
                                    ^~~~~
/in/foo.c:10:30: warning: unused variable 'imin1' [-Wunused-variable]
  int a[10000],b[10000],n1,n2,imin1,imin2;
                              ^~~~~
/in/foo.c: In function 'FindiMinPos':
/in/foo.c:21:22: warning: unused variable 'b' [-Wunused-variable]
  int x=0,y,c,i,j,k,m,b[10000];
                      ^
/in/foo.c:21:20: warning: unused variable 'm' [-Wunused-variable]
  int x=0,y,c,i,j,k,m,b[10000];
                    ^
/in/foo.c:21:18: warning: unused variable 'k' [-Wunused-variable]
  int x=0,y,c,i,j,k,m,b[10000];
                  ^
/in/foo.c:21:16: warning: unused variable 'j' [-Wunused-variable]
  int x=0,y,c,i,j,k,m,b[10000];
                ^
/in/foo.c:21:12: warning: unused variable 'c' [-Wunused-variable]
  int x=0,y,c,i,j,k,m,b[10000];
            ^
/in/foo.c:21:10: warning: unused variable 'y' [-Wunused-variable]
  int x=0,y,c,i,j,k,m,b[10000];
          ^
/in/foo.c:21:6: warning: unused variable 'x' [-Wunused-variable]
  int x=0,y,c,i,j,k,m,b[10000];
      ^
/in/foo.c: In function 'Output':
/in/foo.c:40:12: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'int *' [-Wformat=]
   printf("%X:  %d\n", &a[i], a[i]);
            ^
# 状态 耗时 内存占用
#1 Accepted 1ms 200.0 KiB
#2 Accepted 1ms 204.0 KiB
#3 Accepted 1ms 196.0 KiB
#4 Accepted 0ms 204.0 KiB
#5 Accepted 1ms 196.0 KiB

信息

递交者
类型
递交
题目
A9-7 数组中所有极大值
比赛
基于整数数组的编程技能的进阶训练及二级真题训练(2019-4-13)
语言
C
递交时间
2019-04-13 20:42:07
评测时间
2019-04-13 20:42:07
评测机
分数
100
总耗时
5ms
峰值内存
204.0 KiB