Runtime Error
foo.c: In function 'main': foo.c:9:17: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=] 9 | scanf("%d",a[i]); | ~^ ~~~~ | | | | | int | int * foo.c:9:9: warning: '*a[<unknown>]' is used uninitialized [-Wuninitialized] 9 | scanf("%d",a[i]); | ^~~~~~~~~~~~~~~~ foo.c:12:23: warning: '*a[<unknown>]' may be used uninitialized [-Wmaybe-uninitialized] 12 | a[i]=a[n-i+1]; | ~^~~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1059 G7-2 数组部分元素逆序存放
- 语言
- C
- 递交时间
- 2022-09-30 10:43:34
- 评测时间
- 2022-09-30 10:43:34
- 评测机
- 分数
- 0
- 总耗时
- 8ms
- 峰值内存
- 512.0 KiB