记录详情

Compile Error

foo.c: In function 'main':
foo.c:23:9: warning: implicit declaration of function 'gets_s'; did you mean 'gets'? [-Wimplicit-function-declaration]
   23 |         gets_s(a);
      |         ^~~~~~
      |         gets
/nix/store/3r87a2wq1w4l66wnsm7rqvy608mx23h6-binutils-2.40/bin/ld: /tmp/ccMHGz7A.o: in function `main':
foo.c:(.text.startup+0xd): undefined reference to `gets_s'
/nix/store/3r87a2wq1w4l66wnsm7rqvy608mx23h6-binutils-2.40/bin/ld: foo.c:(.text.startup+0x19): undefined reference to `gets_s'
collect2: error: ld returned 1 exit status
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1556 Problem 8A. 兄妹的密文
语言
C
递交时间
2023-12-12 15:56:08
评测时间
2023-12-12 15:56:08
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes