记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:11:13: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
   11 | while(gets(s))
      |             ^
In file included from /usr/include/stdio.h:867,
                 from foo.cc:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:235:1: note: declared here
  235 | gets (char *__str)
      | ^~~~
foo.cc:11:13: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
   11 | while(gets(s))
      |             ^
In file included from /usr/include/stdio.h:867,
                 from foo.cc:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:235:1: note: declared here
  235 | gets (char *__str)
      | ^~~~
/usr/bin/ld: /tmp/ccljoTnE.o: in function `main':
foo.cc:(.text.startup+0x31): warning: the `gets' function is dangerous and should not be used.
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 10200, expect 200. 1ms 256.0 KiB
#2 Wrong Answer Read 10, expect 0. 1ms 256.0 KiB
#3 Wrong Answer Read 1234, expect 123. 1ms 276.0 KiB
#4 Wrong Answer Read 1234567890, expect 0. 1ms 276.0 KiB
#5 Wrong Answer Read 10, expect 0. 1ms 256.0 KiB
#6 Wrong Answer Read 123456549, expect 1234549. 2ms 256.0 KiB
#7 Wrong Answer Read 9743897043646658..., expect 3043646658972357.... 1ms 256.0 KiB
#8 Wrong Answer Read 3852059941103443..., expect 4434584957563894.... 1ms 256.0 KiB
#9 Wrong Answer Read 8954693060811876..., expect 2331708258251809.... 2ms 256.0 KiB
#10 Wrong Answer Read 1982655088378669..., expect 1100654590665335.... 2ms 256.0 KiB

信息

递交者
类型
递交
题目
xk-3:删除数字
语言
C++
递交时间
2022-07-29 12:49:02
评测时间
2022-07-29 12:49:02
评测机
分数
0
总耗时
17ms
峰值内存
276.0 KiB