foo.c: In function 'main':
foo.c:18:9: warning: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
18 | scanf_s("%d%d%d%d", &n, &m, &a, &b);
| ^~~~~~~
| scanf
foo.c:33:19: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
33 | printf("%ld",f1[n + 1][m + 1]);
| ~~^ ~~~~~~~~~~~~~~~~
| | |
| long int long long int
| %lld
/nix/store/j2gmfdd29cp3rcvghmn1a5kgcnmf8myp-binutils-2.40/bin/ld: /tmp/ccgqWhNe.o: in function `main':
foo.c:(.text.startup+0x21): undefined reference to `scanf_s'
collect2: error: ld returned 1 exit status
[Hydro](https://hydro.ac)提供评测服务