记录详情

Accepted

foo.c: In function ‘main’:
foo.c:6:5: warning: ‘gets’ is deprecated [-Wdeprecated-declarations]
    6 |     gets(s);
      |     ^~~~
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/cc6868Eh.o: in function `main':
foo.c:(.text.startup+0x15): warning: the `gets' function is dangerous and should not be used.
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Accepted 1ms 328.0 KiB
#2 Accepted 1ms 288.0 KiB
#3 Accepted 1ms 512.0 KiB
#4 Accepted 1ms 516.0 KiB
#5 Accepted 1ms 288.0 KiB

信息

递交者
类型
递交
题目
P1061 A8-5 删除字符串中多余的一种字符
语言
C
递交时间
2024-09-25 18:43:30
评测时间
2024-09-25 18:43:30
评测机
分数
100
总耗时
7ms
峰值内存
516.0 KiB