foo.c: In function 'main':
foo.c:7:17: warning: format '%d' expects a matching 'int *' argument [-Wformat=]
    7 |         scanf("%d%d, &a, &b");
      |                ~^
      |                 |
      |                 int *
foo.c:7:19: warning: format '%d' expects a matching 'int *' argument [-Wformat=]
    7 |         scanf("%d%d, &a, &b");
      |                  ~^
      |                   |
      |                   int *
foo.c:14:18: warning: format '%d' expects a matching 'int' argument [-Wformat=]
   14 |         printf("%d\n%d\n%d\n, x, y, z");
      |                 ~^
      |                  |
      |                  int
foo.c:14:22: warning: format '%d' expects a matching 'int' argument [-Wformat=]
   14 |         printf("%d\n%d\n%d\n, x, y, z");
      |                     ~^
      |                      |
      |                      int
foo.c:14:26: warning: format '%d' expects a matching 'int' argument [-Wformat=]
   14 |         printf("%d\n%d\n%d\n, x, y, z");
      |                         ~^
      |                          |
      |                          int
foo.c:12:13: warning: variable 'z' set but not used [-Wunused-but-set-variable]
   12 |         int z = 0;
      |             ^
foo.c:10:13: warning: variable 'y' set but not used [-Wunused-but-set-variable]
   10 |         int y = 0;
      |             ^
foo.c:8:13: warning: variable 'x' set but not used [-Wunused-but-set-variable]
    8 |         int x = 0;
      |             ^
   
  
    [Hydro](https://hydro.ac)提供评测服务