Compile Error
foo.c: In function 'main': foo.c:8:11: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=] scanf("%d",a[i]); ^ foo.c:13:16: error: 'i' undeclared (first use in this function) for(int j=0;j<i-1;j++) ^ foo.c:13:16: note: each undeclared identifier is reported only once for each function it appears in foo.c:15:4: error: 'j' undeclared (first use in this function) a[j]=x; ^ 自豪的采用jd5进行评测(github.com/masnn/jd5)
信息
- 递交者
- 类型
- 自测
- 题目
- 1-1 数字循环左移
- 语言
- C
- 递交时间
- 2020-02-04 13:56:18
- 评测时间
- 2020-02-04 13:56:18
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes