记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:8:9: warning: 'gets' is deprecated [-Wdeprecated-declarations]
    8 |         gets(a);//yab
      |         ^~~~
In file included from foo.c:1:
/nix/store/y8wfrgk7br5rfz4221lfb9v8w3n0cnyd-glibc-2.37-8-dev/include/stdio.h:605:14: note: declared here
  605 | extern char *gets (char *__s) __wur __attribute_deprecated__;
      |              ^~~~
/nix/store/74y3751gsixaz9797ib0hp7c658sp1y5-binutils-2.40/bin/ld: /tmp/ccH5YuCm.o: in function `main':
foo.c:(.text.startup+0xb): warning: the `gets' function is dangerous and should not be used.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 309, expect 308. 1ms 284.0 KiB
#2 Wrong Answer Read 592, expect 556. 1ms 284.0 KiB
#3 Accepted 1ms 284.0 KiB
#4 Wrong Answer Read 254, expect 248. 2ms 284.0 KiB
#5 Wrong Answer Read 47, expect 46. 2ms 284.0 KiB
#6 Wrong Answer Read 298, expect 283. 2ms 284.0 KiB
#7 Wrong Answer Read 378, expect 364. 2ms 284.0 KiB
#8 Wrong Answer Read 245, expect 243. 1ms 284.0 KiB
#9 Wrong Answer Read 380, expect 374. 2ms 284.0 KiB
#10 Accepted 2ms 284.0 KiB
#11 Wrong Answer Read 20, expect 17. 1ms 228.0 KiB
#12 Wrong Answer Read 258, expect 255. 2ms 284.0 KiB
#13 Wrong Answer Read 255385, expect 252274. 2ms 328.0 KiB
#14 Wrong Answer Read 411801, expect 405820. 2ms 284.0 KiB
#15 Wrong Answer Read 423593, expect 418608. 3ms 284.0 KiB
#16 Wrong Answer Read 136742, expect 134939. 2ms 284.0 KiB
#17 Wrong Answer Read 595429, expect 587423. 3ms 412.0 KiB
#18 Wrong Answer Read 594071, expect 586505. 2ms 284.0 KiB
#19 Wrong Answer Read 419407, expect 414046. 2ms 284.0 KiB
#20 Wrong Answer Read 631399, expect 622382. 3ms 284.0 KiB

信息

递交者
类型
递交
题目
P1537 Problem 5B. 操作字符串
比赛
2023秋 悬赏令第五周
语言
C
递交时间
2023-11-09 13:45:17
评测时间
2023-11-09 13:45:17
评测机
分数
10
总耗时
47ms
峰值内存
412.0 KiB