foo.c: In function 'main':
foo.c:10:14: warning: format '%d' expects a matching 'int' argument [-Wformat=]
   10 |     printf("%d%d,y1,y2,y3");
      |             ~^
      |              |
      |              int
foo.c:10:16: warning: format '%d' expects a matching 'int' argument [-Wformat=]
   10 |     printf("%d%d,y1,y2,y3");
      |               ~^
      |                |
      |                int
foo.c:5:25: warning: variable 'y3' set but not used [-Wunused-but-set-variable]
    5 |         int x1,x2,y1,y2,y3;
      |                         ^~
foo.c:5:22: warning: variable 'y2' set but not used [-Wunused-but-set-variable]
    5 |         int x1,x2,y1,y2,y3;
      |                      ^~
foo.c:5:19: warning: variable 'y1' set but not used [-Wunused-but-set-variable]
    5 |         int x1,x2,y1,y2,y3;
      |                   ^~
foo.c:6:11: warning: 'x1' is used uninitialized [-Wuninitialized]
    6 |         y1=x1+x2;
      |         ~~^~~~~~
foo.c:6:11: warning: 'x2' is used uninitialized [-Wuninitialized]
   
  
    [Hydro](https://hydro.ac)提供评测服务