Compile Error
foo.c: In function 'main':
foo.c:10:19: error: expected ')' before ';' token
scanf("%d",&a[i];
^
foo.c:11:2: error: expected ';' before '}' token
}
^
foo.c: In function 'Output':
foo.c:20:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int *' [-Wformat=]
printf("%d",&a[i]);
^
自豪的采用jd5进行评测(github.com/masnn/jd5)
信息
- 递交者
- 类型
- 递交
- 题目
- A7-1 数组的输出函数
- 语言
- C
- 递交时间
- 2020-02-04 12:55:37
- 评测时间
- 2020-02-04 12:55:37
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes