foo.c: In function 'main':
foo.c:40:5: warning: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
40 | scanf_s("%d %d %d", &x, &y, &z);
| ^~~~~~~
| scanf
/usr/bin/ld: /tmp/ccYlBrXq.o: in function `main':
foo.c:(.text.startup+0x50): undefined reference to `scanf_s'
/usr/bin/ld: foo.c:(.text.startup+0x6c): undefined reference to `scanf_s'
/usr/bin/ld: foo.c:(.text.startup+0xac): undefined reference to `scanf_s'
/usr/bin/ld: foo.c:(.text.startup+0xec): undefined reference to `scanf_s'
collect2: error: ld returned 1 exit status
[Hydro](https://hydro.ac)提供评测服务