记录详情

Accepted

foo.c: In function ‘main’:
foo.c:7:9: warning: ‘gets’ is deprecated [-Wdeprecated-declarations]
    7 |         gets(str);
      |         ^~~~
In file included from foo.c:1:
/nix/glibc-2.39-52-dev/include/stdio.h:667:14: note: declared here
  667 | extern char *gets (char *__s) __wur __attribute_deprecated__;
      |              ^~~~
/nix/binutils-2.42/bin/ld: /tmp/ccItERtn.o: in function `main':
foo.c:(.text.startup+0xa): warning: the `gets' function is dangerous and should not be used.
# 状态 耗时 内存占用
#1 Accepted 1ms 324.0 KiB
#2 Accepted 1ms 288.0 KiB
#3 Accepted 1ms 288.0 KiB
#4 Accepted 1ms 552.0 KiB

信息

递交者
类型
递交
题目
1-1 数字循环左移
比赛
南师大(含泰州学院)2024年新生赛(第一场)
语言
C
递交时间
2024-08-19 14:08:37
评测时间
2024-08-19 14:08:37
评测机
分数
100
总耗时
5ms
峰值内存
552.0 KiB