记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:37:3: warning: 'gets' is deprecated [-Wdeprecated-declarations]
   gets(str[n]);
   ^
In file included from /usr/include/stdio.h:936:0,
                 from foo.c:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:233:1: note: declared here
 gets (char *__str)
 ^
foo.c:37:3: warning: ignoring return value of 'gets', declared with attribute warn_unused_result [-Wunused-result]
   gets(str[n]);
   ^
In file included from /usr/include/stdio.h:936:0,
                 from foo.c:1:
In function 'gets',
    inlined from 'main' at foo.c:37:3:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:237:10: warning: call to '__gets_warn' declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size
   return __gets_warn (__str);
          ^
/tmp/ccNTVqzu.o: In function `main':
foo.c:(.text.startup+0x65): warning: the `gets' function is dangerous and should not be used.

自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-05-12T15:36:21.639Z","handle":"2020-05-12T15:36:21.639Z","cache_start":"2020-05-12T15:36:21.647Z","read_cases":"2020-05-12T15:36:21.760Z","judge":"2020-05-12T15:36:21.760Z","done":"2020-05-12T15:36:21.837Z"}
# 状态 耗时 内存占用
#1 Wrong Answer 读取到 four ,应为 two 0ms 128.0 KiB
#2 Wrong Answer 1d0 < who 2a2 > who 0ms 128.0 KiB

信息

递交者
类型
递交
语言
C
递交时间
2020-05-12 23:36:21
评测时间
2020-05-12 23:36:21
评测机
分数
0
总耗时
1ms
峰值内存
128.0 KiB