记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:35:3: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
   gets(str[n]);
   ^
In file included from foo.cc:1:0:
/usr/include/stdio.h:638:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^
foo.cc:35:3: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
   gets(str[n]);
   ^
In file included from foo.cc:1:0:
/usr/include/stdio.h:638:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^
foo.cc:35:14: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
   gets(str[n]);
              ^
In file included from foo.cc:1:0:
/usr/include/stdio.h:638:14: note: declared here
 extern char *gets (char *__s) __wur __attribute_deprecated__;
              ^
foo.cc:35:15: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result [-Wunused-result]
   gets(str[n]);
               ^
/tmp/ccLq6LRY.o: In function `main':
foo.cc:(.text.startup+0x5f): warning: the `gets' function is dangerous and should not be used.

自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-05-12T15:21:55.401Z","handle":"2020-05-12T15:21:55.401Z","cache_start":"2020-05-12T15:21:55.410Z","read_cases":"2020-05-12T15:21:55.531Z","judge":"2020-05-12T15:21:55.533Z","done":"2020-05-12T15:21:55.625Z"}
# 状态 耗时 内存占用
#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:21:55
评测时间
2020-05-12 23:21:55
评测机
分数
0
总耗时
0ms
峰值内存
128.0 KiB