记录详情

Compile Error

foo.c: In function 'main':
foo.c:9:25: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
    9 |                 scanf("%d",a[i]);
      |                        ~^  ~~~~
      |                         |   |
      |                         |   int
      |                         int *
foo.c:10:9: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers
   10 |         for(j=0;j<n;j++)
      |         ^~~
foo.c:10:9: note: adding '-flarge-source-files' will allow for more column-tracking support, at the expense of compilation time and memory
foo.c:18:1: error: expected declaration or statement at end of input
   18 | }
      | ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
比赛
2022年迎新赛(第二场)
语言
C
递交时间
2022-08-27 17:50:00
评测时间
2022-08-27 17:50:00
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes