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)提供评测服务