记录详情

Accepted

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

信息

递交者
类型
递交
题目
6-10 哪个字母对用得最多
比赛
2021(四) 作业第三场:热身赛
语言
C
递交时间
2021-11-14 21:17:34
评测时间
2022-09-25 11:33:08
评测机
分数
100
总耗时
13ms
峰值内存
256.0 KiB