foo.c: In function 'main':
foo.c:8:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
    8 |  scanf("%d",a[i]);
      |         ~^  ~~~~
      |          |   |
      |          |   int
      |          int *
foo.c:8:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    8 |  scanf("%d",a[i]);
      |  ^~~~~~~~~~~~~~~~
foo.c:8:2: warning: 'a[0]' is used uninitialized in this function [-Wuninitialized]
    8 |  scanf("%d",a[i]);
      |  ^~~~~~~~~~~~~~~~
foo.c:8:2: warning: 'a[1]' is used uninitialized in this function [-Wuninitialized]
foo.c:8:2: warning: 'a[2]' is used uninitialized in this function [-Wuninitialized]
   
  
    正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务