记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:35: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:35:4: 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:35:4:
/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/cc6v8W2c.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:25:30.693Z","handle":"2020-05-12T15:25:30.693Z","cache_start":"2020-05-12T15:25:30.702Z","read_cases":"2020-05-12T15:25:30.813Z","judge":"2020-05-12T15:25:30.814Z","done":"2020-05-12T15:25:30.888Z"}
# 状态 耗时 内存占用
#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:25:30
评测时间
2020-05-12 23:25:30
评测机
分数
0
总耗时
0ms
峰值内存
128.0 KiB