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