Runtime Error
/in/foo.c:2:6: warning: return type of 'main' is not 'int' [-Wmain] void main() ^~~~ /in/foo.c: In function 'main': /in/foo.c:6:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=] scanf("%d",num); ^ /in/foo.c:9:11: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=] scanf("%d",a[i]); ^
信息
- 递交者
- 类型
- 递交
- 比赛
- 2020年互联网创新创业科技节程序设计大赛
- 语言
- C
- 递交时间
- 2020-12-09 14:43:08
- 评测时间
- 2020-12-09 14:43:08
- 评测机
- 分数
- 0
- 总耗时
- 1ms
- 峰值内存
- 128.0 KiB