记录详情

Compile Error

foo.c: In function 'main':
foo.c:12:2: error: expected ';' before 'for'
  for(i=L;i<=m;i++)
  ^~~
foo.c:5:22: warning: variable 'f3' set but not used [-Wunused-but-set-variable]
  int L,R,i,m,n,f1,f2,f3;
                      ^~
foo.c:5:19: warning: variable 'f2' set but not used [-Wunused-but-set-variable]
  int L,R,i,m,n,f1,f2,f3;
                   ^~
foo.c:5:16: warning: variable 'f1' set but not used [-Wunused-but-set-variable]
  int L,R,i,m,n,f1,f2,f3;
                ^~
foo.c:5:14: warning: variable 'n' set but not used [-Wunused-but-set-variable]
  int L,R,i,m,n,f1,f2,f3;
              ^
foo.c:5:12: warning: variable 'm' set but not used [-Wunused-but-set-variable]
  int L,R,i,m,n,f1,f2,f3;
            ^
foo.c:6:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d\n",&L,&R);
  ^~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1006 数字统计
语言
C
递交时间
2021-09-06 17:00:34
评测时间
2021-09-06 17:01:09
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes