Compile Error
/in/foo.c: In function 'Findmin': /in/foo.c:4:14: error: 'i' undeclared (first use in this function) for(int n=1;i<n;i++) ^ /in/foo.c:4:14: note: each undeclared identifier is reported only once for each function it appears in /in/foo.c:8:5: error: expected ';' before 'printf' printf("%d",a[i]); ^~~~~~ /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:56:42
- 评测时间
- 2023-11-21 13:56:42
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes