记录详情

Compile Error

foo.c: In function 'main':
foo.c:15:9: warning: spurious trailing '%' in format [-Wformat=]
   15 |  scanf("%",&n);
      |         ^
foo.c:15:8: warning: too many arguments for format [-Wformat-extra-args]
   15 |  scanf("%",&n);
      |        ^~~
foo.c:18:24: error: expected expression before ',' token
   18 |  printf("%d\n",FindMin(,n));
      |                        ^
foo.c:15:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   15 |  scanf("%",&n);
      |  ^~~~~~~~~~~~~
foo.c:17:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   17 |   scanf("%d",&a[i]);
      |   ^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
比赛
2022春 C语言课程设计 作业2
语言
C
递交时间
2022-03-27 21:10:03
评测时间
2022-03-27 21:10:03
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes