foo.c: In function 'main':
foo.c:10:4: warning: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
10 | scanf_s("%d%d",&s1,&s2);
| ^~~~~~~
| scanf
foo.c:14:22: error: 'sum\U0000ff09' undeclared (first use in this function)
14 | printf("sum=%d\n",sum);
| ^~~~~
foo.c:14:22: note: each undeclared identifier is reported only once for each function it appears in
foo.c:14:27: error: expected ')' before ';' token
14 | printf("sum=%d\n",sum);
| ~ ^
| )
foo.c:17:16: error: expected ';' before '}' token
17 | return0;
| ^
| ;
18 | }
| ~
foo.c:9:8: warning: variable 'remainder' set but not used [-Wunused-but-set-variable]
9 | int remainder=0;
| ^~~~~~~~~
foo.c:8:8: warning: variable 'product' set but not used [-Wunused-but-set-variable]
8 | int product=0;
| ^~~~~~~
foo.c:7:8: warning: variable 'sum' set but not used [-Wunused-but-set-variable]
7 | int sum=0;
| ^~~
[Hydro](https://hydro.ac)提供评测服务