记录详情

Accepted

foo.c: In function ‘main’:
foo.c:6:5: warning: ‘gets’ is deprecated [-Wdeprecated-declarations]
    6 |     gets(origen);
      |     ^~~~
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__;
      |              ^~~~
foo.c:7:5: warning: ‘gets’ is deprecated [-Wdeprecated-declarations]
    7 |     gets(delete);
      |     ^~~~
/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/ccpsKahr.o: in function `main':
foo.c:(.text.startup+0x1b): warning: the `gets' function is dangerous and should not be used.
# 状态 耗时 内存占用
#1 Accepted 1ms 552.0 KiB
#2 Accepted 1ms 288.0 KiB
#3 Accepted 1ms 516.0 KiB
#4 Accepted 1ms 552.0 KiB
#5 Accepted 1ms 288.0 KiB

信息

递交者
类型
递交
题目
P1062 A8-6 删除字符串中多余的多种字符
语言
C
递交时间
2024-09-25 20:31:09
评测时间
2024-09-25 20:31:09
评测机
分数
100
总耗时
6ms
峰值内存
552.0 KiB