记录详情

Compile Error

foo.c: In function 'main':
foo.c:6:17: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
    6 |         scanf("%d",n);
      |                ~^  ~
      |                 |  |
      |                 |  int
      |                 int *
foo.c:13:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '==' token
   13 |         int num[0]==1;
      |                   ^~
foo.c:13:19: error: expected expression before '==' token
foo.c:14:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '==' token
   14 |         int num[1]==1;
      |                   ^~
foo.c:14:19: error: expected expression before '==' token
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1024 兔子数列
语言
C
递交时间
2022-08-18 12:45:41
评测时间
2022-08-18 12:45:41
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes