记录详情

Accepted

foo.c: In function 'main':
foo.c:8:9: warning: 'gets' is deprecated [-Wdeprecated-declarations]
    8 |         gets(arr);
      |         ^~~~
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/cc0Sm5SE.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 Accepted 1ms 256.0 KiB
#3 Accepted 1ms 256.0 KiB
#4 Accepted 1ms 256.0 KiB
#5 Accepted 1ms 256.0 KiB

信息

递交者
类型
递交
比赛
2022年迎新赛(第三场)
语言
C
递交时间
2022-09-16 20:43:34
评测时间
2022-09-16 20:43:34
评测机
分数
100
总耗时
7ms
峰值内存
256.0 KiB