Runtime Error
foo.c: In function 'main':
foo.c:7:25: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
7 | scanf("%d",a[i]);}
| ~^ ~~~~
| | |
| | int
| int *
foo.c:8:13: warning: 'a' is used uninitialized [-Wuninitialized]
8 | int min=a[0];
| ^~~
foo.c:5:13: note: 'a' declared here
5 | int a[100];
| ^
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 题目
- A6-4 最大公约数专题:多个数的最大公约数
- 语言
- C
- 递交时间
- 2024-01-02 14:19:52
- 评测时间
- 2024-01-02 14:19:52
- 评测机
- 分数
- 0
- 总耗时
- 2ms
- 峰值内存
- 412.0 KiB