foo.c:15:6: warning: return type of 'main' is not 'int' [-Wmain]
void main()
^~~~
foo.c: In function 'main':
foo.c:20:2: warning: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
scanf_s("%d %d %d", &m, &n, &k);
^~~~~~~
scanf
/tmp/ccLHf3vn.o: In function `main':
foo.c:(.text.startup+0x3b): undefined reference to `scanf_s'
foo.c:(.text.startup+0x85): undefined reference to `scanf_s'
collect2: error: ld returned 1 exit status
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务