/ WanKu /

记录详情

Runtime Error

foo.c: In function 'main':
foo.c:11:2: warning: 'gets' is deprecated [-Wdeprecated-declarations]
   11 |  gets(a);
      |  ^~~~
In file included from /usr/include/stdio.h:867,
                 from foo.c:2:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:235:1: note: declared here
  235 | gets (char *__str)
      | ^~~~
foo.c:8:9: warning: unused variable 'o' [-Wunused-variable]
    8 |  int n, o = 0;
      |         ^
foo.c:10:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   10 |  scanf("%d ", &n);
      |  ^~~~~~~~~~~~~~~~
foo.c:11:2: warning: ignoring return value of 'gets', declared with attribute warn_unused_result [-Wunused-result]
   11 |  gets(a);
      |  ^~~~~~~
/usr/bin/ld: /tmp/ccWHC3Tr.o: in function `main':
foo.c:(.text.startup+0x47): warning: the `gets' function is dangerous and should not be used.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read XXX.XXX.XXX.XXX...., expect XXX.XXX.XXX.XXX..... 1ms 256.0 KiB
#2 Wrong Answer Read XXX.XXX.XXX.XXX...., expect XXX.XXX.XXX.XXX..... 1ms 256.0 KiB
#3 Wrong Answer Read X.X.XXX.XXX.XXX...., expect X.X.XXX.XXX.XXX..... 2ms 256.0 KiB
#4 Wrong Answer Read XXX.XXX.XXX.X.X...., expect XXX.XXX.XXX.X.X..... 1ms 256.0 KiB
#5 Wrong Answer Read XXX.XXX.XXX.XXX...., expect XXX.XXX.XXX.XXX..... 1ms 384.0 KiB
#6 Wrong Answer Read XXX.X.X.XXX.X.X...., expect XXX.X.X.XXX.X.X..... 1ms 256.0 KiB
#7 Wrong Answer Read XXX.X.X.XXX.XXX...., expect XXX.X.X.XXX.XXX..... 1ms 256.0 KiB
#8 Wrong Answer Read X.X.XXX.XXX.X.X...., expect X.X.XXX.XXX.X.X..... 1ms 256.0 KiB
#9 Accepted 1ms 256.0 KiB
#10 Accepted 1ms 256.0 KiB
#11 Accepted 1ms 256.0 KiB
#12 Accepted 1ms 256.0 KiB
#13 Runtime Error Aborted 1ms 256.0 KiB
#14 Runtime Error Aborted 1ms 256.0 KiB
#15 Runtime Error Aborted 2ms 384.0 KiB
#16 Wrong Answer Read XXX.XXX.XXX.X.X...., expect XXX.XXX.XXX.X.X..... 2ms 256.0 KiB
#17 Wrong Answer Read XXX.XXX.XXX.XXX...., expect XXX.XXX.XXX.XXX..... 2ms 256.0 KiB
#18 Wrong Answer Read XXX.XXX.XXX.X.X...., expect XXX.XXX.XXX.X.X..... 2ms 256.0 KiB
#19 Wrong Answer Read X.X.XXX.XXX.X.X...., expect X.X.XXX.XXX.X.X..... 2ms 256.0 KiB
#20 Runtime Error Aborted 1ms 312.0 KiB

信息

递交者
类型
递交
题目
P1007 每日一题-7 数字显示
语言
C
递交时间
2022-04-26 23:36:40
评测时间
2022-04-26 23:36:40
评测机
分数
20
总耗时
35ms
峰值内存
384.0 KiB