Compile Error
/in/foo.c: In function 'main': /in/foo.c:11:3: error: expected ';' before 'if' if (num[i] > num[i-1]) { ^~ /in/foo.c:17:6: error: 'i' undeclared (first use in this function) for(i=0;i<n;i++) ^ /in/foo.c:17:6: note: each undeclared identifier is reported only once for each function it appears in /in/foo.c:6:6: warning: unused variable 'temp' [-Wunused-variable] int temp; ^~~~
信息
- 递交者
- 类型
- 自测
- 语言
- C
- 递交时间
- 2024-11-26 10:17:50
- 评测时间
- 2024-11-26 10:17:50
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes