foo.c: In function 'main':
foo.c:7:17: warning: format '%d' expects a matching 'int *' argument [-Wformat=]
7 | scanf("%d%d,&x1,&x2");
| ~^
| |
| int *
foo.c:7:19: warning: format '%d' expects a matching 'int *' argument [-Wformat=]
7 | scanf("%d%d,&x1,&x2");
| ~^
| |
| int *
foo.c:14:31: error: expected ';' at end of input
14 | printf("y1\n,y2\n,y3")
| ^
| ;
15 |
foo.c:14:9: error: expected declaration or statement at end of input
14 | printf("y1\n,y2\n,y3")
| ^~~~~~
foo.c:9:19: warning: variable 'y3' set but not used [-Wunused-but-set-variable]
9 | int y1,y2,y3;
| ^~
foo.c:9:16: warning: variable 'y2' set but not used [-Wunused-but-set-variable]
9 | int y1,y2,y3;
| ^~
foo.c:9:13: warning: variable 'y1' set but not used [-Wunused-but-set-variable]
9 | int y1,y2,y3;
| ^~
[Hydro](https://hydro.ac)提供评测服务