/in/foo.c: In function 'main': /in/foo.c:8:17: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'char *' [-Wformat=] 8 | scanf("%d", &a[i]); | ~^ ~~~~~ | | | | | char * | int * | %hhd
注册一个 Vijos 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。
使用您的 Vijos 通用账户