记录详情

Compile Error

foo.c: In function 'main':
foo.c:11:9: warning: implicit declaration of function 'printf_s'; did you mean 'printf'? [-Wimplicit-function-declaration]
   11 |         printf_s("请输入需要转换的正整数:");
      |         ^~~~~~~~
      |         printf
foo.c:12:9: warning: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
   12 |         scanf_s("%d", &t);
      |         ^~~~~~~
      |         scanf
/nix/store/j2gmfdd29cp3rcvghmn1a5kgcnmf8myp-binutils-2.40/bin/ld: /tmp/ccZVQwPt.o: in function `main':
foo.c:(.text.startup+0x29): undefined reference to `printf_s'
/nix/store/j2gmfdd29cp3rcvghmn1a5kgcnmf8myp-binutils-2.40/bin/ld: foo.c:(.text.startup+0x3a): undefined reference to `scanf_s'
/nix/store/j2gmfdd29cp3rcvghmn1a5kgcnmf8myp-binutils-2.40/bin/ld: foo.c:(.text.startup+0x90): undefined reference to `printf_s'
collect2: error: ld returned 1 exit status
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1080 xf1-3进制转换1
比赛
2023 程序设计与竞赛(作业1:见面赛)
语言
C
递交时间
2023-09-20 16:46:19
评测时间
2023-09-20 16:46:19
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes