记录详情

Compile Error

foo.c: In function ‘main’:
foo.c:11:23: error: expected ‘;’ before ‘if’
   11 |         scanf("%d",&d)
      |                       ^
      |                       ;
   12 |         if(d<=2)
      |         ~~             
foo.c:9:13: warning: unused variable ‘i’ [-Wunused-variable]
    9 |         int i;
      |             ^
foo.c:8:13: warning: unused variable ‘c’ [-Wunused-variable]
    8 |         int c;
      |             ^
foo.c:7:13: warning: unused variable ‘b’ [-Wunused-variable]
    7 |         int b=1;
      |             ^
foo.c:6:13: warning: unused variable ‘a’ [-Wunused-variable]
    6 |         int a=1;
      |             ^

信息

递交者
类型
递交
题目
P1013 兔子数列
语言
C
递交时间
2024-08-20 18:46:18
评测时间
2024-08-20 18:46:18
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes