foo.c: In function 'main':
foo.c:5:17: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'float *' [-Wformat=]
    5 |         scanf("%d",&a);
      |                ~^  ~~
      |                 |  |
      |                 |  float *
      |                 int *
      |                %e
foo.c:6:17: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'float *' [-Wformat=]
    6 |         scanf("%d",&m);
      |                ~^  ~~
      |                 |  |
      |                 |  float *
      |                 int *
      |                %e
foo.c:7:17: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'float *' [-Wformat=]
    7 |         scanf("%d",&k);
      |                ~^  ~~
      |                 |  |
      |                 |  float *
      |                 int *
      |                %e
   
  
    [Hydro](https://hydro.ac)提供评测服务