foo.c: In function 'main':
foo.c:8:9: warning: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
8 | scanf_s("%d %d %d %d %d %d %d %d %d %d %d", &sum, &a, &a1, &a2, &a3, &a4, &a5, &a6, &a7, &a8, &a9);
| ^~~~~~~
| scanf
/nix/store/jfkmqz20q8fsaqizcml86adxqyzlwllx-binutils-2.38/bin/ld: /tmp/cczuVSG9.o: in function `main':
foo.c:(.text.startup+0x49): undefined reference to `scanf_s'
collect2: error: ld returned 1 exit status
[Hydro](https://hydro.ac)提供评测服务