记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:19:13: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
   19 |         gets(s);
      |         ~~~~^~~
In file included from foo.cc: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/cc3z7tau.o: in function `main':
foo.cc:(.text.startup+0x3a): warning: the `gets' function is dangerous and should not be used.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Wrong Answer User output longer than standard answer. 1ms 384.0 KiB
#4 Accepted 1ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
6-10 哪个字母对用得最多
语言
C++
递交时间
2022-09-25 11:26:48
评测时间
2022-09-25 11:26:48
评测机
分数
80
总耗时
8ms
峰值内存
384.0 KiB