提交记录 #384

提交时间:2024-12-03 16:05:36
语言:c 状态:CompileError
编译情况:编译错误
code.c: In function ‘main’:
code.c:12:5: warning: implicit declaration of function ‘scanf_s’; did you mean ‘scanf’? [-Wimplicit-function-declaration]
   12 |     scanf_s("%d", &n);
      |     ^~~~~~~
      |     scanf
/usr/bin/ld: /tmp/ccdlTgAV.o: in function `main':
code.c:(.text.startup+0x20): undefined reference to `scanf_s'
/usr/bin/ld: code.c:(.text.startup+0x5d): undefined reference to `scanf_s'
/usr/bin/ld: code.c:(.text.startup+0x81): undefined reference to `scanf_s'
collect2: error: ld returned 1 exit status
固定测试点暂不可用
... 等待中
time N/A
memory N/A
附加测试点暂不可用
... 不可用
time N/A
memory N/A
京ICP备2024093084 号