记录详情

Compile Error

foo.c: In function 'main':
foo.c:8:2: warning: implicit declaration of function 'gets_s'; did you mean 'gets'? [-Wimplicit-function-declaration]
  gets_s(a);
  ^~~~~~
  gets
foo.c:10:2: warning: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
  scanf_s("%d", &k);
  ^~~~~~~
  scanf
/tmp/ccVr0ft7.o: In function `main':
foo.c:(.text.startup+0x24): undefined reference to `gets_s'
foo.c:(.text.startup+0x37): undefined reference to `scanf_s'
collect2: error: ld returned 1 exit status
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
4-6 一个密钥的凯撒密码
语言
C
递交时间
2021-11-15 19:46:16
评测时间
2021-11-15 19:46:16
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes