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"}