记录详情

Compile Error

/in/foo.c: In function 'Findmin':
/in/foo.c:8:19: error: 'i' undeclared (first use in this function)
     printf("%d",a[i]);
                   ^
/in/foo.c:8:19: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c: In function 'main':
/in/foo.c:18:11: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
   scanf("%d",a[i]);
           ^

信息

递交者
类型
自测
题目
A7-2 数组的极值函数
语言
C
递交时间
2023-11-21 13:57:09
评测时间
2023-11-21 13:57:09
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes