foo.c: In function 'main':
foo.c:8:10: error: stray '\342' in program
8 | scanf(“%d”,&b);
| ^
foo.c:8:11: error: expected expression before '%' token
8 | scanf(“%d”,&b);
| ^
foo.c:8:13: error: stray '\342' in program
8 | scanf(“%d”,&b);
| ^
foo.c:9:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
9 | for(int n=2,n<b,n++)
| ^
foo.c:19:8: error: stray '\342' in program
19 | printf(“%d”,&s);
| ^
foo.c:19:9: error: expected expression before '%' token
19 | printf(“%d”,&s);
| ^
foo.c:19:11: error: stray '\342' in program
19 | printf(“%d”,&s);
| ^
foo.c:20:1: error: expected expression before 'return'
20 | return 0;
| ^~~~~~
foo.c:21:1: error: expected expression before '}' token
21 | }
| ^
foo.c:9:11: warning: unused variable 'n' [-Wunused-variable]
9 | for(int n=2,n<b,n++)
| ^
foo.c:7:8: warning: unused variable 's' [-Wunused-variable]
7 | int s=0;
| ^
foo.c:6:8: warning: unused variable 'b' [-Wunused-variable]
6 | int b=0;
| ^
foo.c:5:8: warning: unused variable 'a' [-Wunused-variable]
5 | int a=0;
| ^
[Hydro](https://hydro.ac)提供评测服务