记录详情

Compile Error

/in/foo.c: In function 'YH':
/in/foo.c:20:4: warning: implicit declaration of function 'printf_s' [-Wimplicit-function-declaration]
    printf_s("%d", yh[i][j]);
    ^~~~~~~~
/in/foo.c: In function 'main':
/in/foo.c:28:2: warning: implicit declaration of function 'scanf_s' [-Wimplicit-function-declaration]
  scanf_s("%d", &n);
  ^~~~~~~
/tmp/cc8LAWgd.o: In function `YH':
foo.c:(.text+0xec): undefined reference to `printf_s'
foo.c:(.text+0x103): undefined reference to `printf_s'
/tmp/cc8LAWgd.o: In function `main':
foo.c:(.text.startup+0x13): undefined reference to `scanf_s'
foo.c:(.text.startup+0x25): undefined reference to `printf_s'
collect2: error: ld returned 1 exit status

信息

递交者
类型
自测
语言
C
递交时间
2024-11-29 17:10:19
评测时间
2024-11-29 17:10:19
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes