记录详情

Accepted

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

信息

递交者
类型
递交
题目
P1479 E. Jumpy Dumpty
语言
C
递交时间
2024-08-22 15:08:29
评测时间
2024-08-22 15:08:29
评测机
分数
100
总耗时
15ms
峰值内存
556.0 KiB