/tmp/compiler_p6e0vd94/src: 在函数‘int main()’中: /tmp/compiler_p6e0vd94/src:8:17: 警告:格式 ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=] 8 | scanf("%d",a[i]); | ~^ ~~~~ | | | | int* int