记录详情

Compile Error

foo.c:2:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
    2 | void maxS-F(int i);
      |          ^
foo.c: In function 'main':
foo.c:8:25: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
    8 |                 scanf("%d",a[i]);
      |                        ~^  ~~~~
      |                         |   |
      |                         |   int
      |                         int *
foo.c:10:25: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
   10 |                 scanf("%d%d",b[i],c[i]);
      |                        ~^    ~~~~
      |                         |     |
      |                         int * int
foo.c:10:27: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Wformat=]
   10 |                 scanf("%d%d",b[i],c[i]);
      |                          ~^       ~~~~
      |                           |        |
      |                           int *    int
foo.c:11:22: warning: variable 'd' set but not used [-Wunused-but-set-variable]
   11 |         int j,temp,k,d[200000];
      |                      ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1390 Problem 1B. 完全参差序列
比赛
悬赏令第一周
语言
C
递交时间
2022-10-01 18:54:33
评测时间
2022-10-01 18:54:33
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes