记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:6:9: warning: 'gets' is deprecated [-Wdeprecated-declarations]
    6 |         gets(str);
      |         ^~~~
In file included from foo.c:1:
/nix/store/1x86jfiwsp5qi448fcdkkzn7vmx4krv2-glibc-2.35-163-dev/include/stdio.h:605:14: note: declared here
  605 | extern char *gets (char *__s) __wur __attribute_deprecated__;
      |              ^~~~
/nix/store/vhf2cr6immz4qdxd83y025fnxim8mmfg-binutils-2.38/bin/ld: /tmp/ccM9VLEz.o: in function `main':
foo.c:(.text.startup+0x8): warning: the `gets' function is dangerous and should not be used.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Wrong Answer Read 1048576, expect 1048575. 1ms 256.0 KiB
#3 Accepted 1ms 256.0 KiB
#4 Wrong Answer Read 1110, expect 1109. 1ms 384.0 KiB
#5 Accepted 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1081 xf1-4进制转换2
比赛
2022年迎新赛(第二场)
语言
C
递交时间
2022-08-27 16:17:58
评测时间
2022-08-27 16:17:58
评测机
分数
60
总耗时
8ms
峰值内存
384.0 KiB