Record Detail

Wrong Answer

/in/database.c: In function 'main':
/in/database.c:72:13: warning: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration]
             gets(cmd);
             ^~~~
             fgets
/in/database.c:56:13: warning: unused variable 'i' [-Wunused-variable]
     int ret,i=0;
             ^
/tmp/ccTy50lb.o: In function `main':
database.c:(.text.startup+0x273): warning: the `gets' function is dangerous and should not be used.
# Status Time Cost Memory Cost
#1 Wrong Answer Detail 31ms 6.445 MiB
#2 Wrong Answer Detail 20ms 6.484 MiB
#3 Wrong Answer Detail 31ms 6.414 MiB
#4 Wrong Answer Detail 24ms 6.426 MiB
#5 Wrong Answer Detail 21ms 6.516 MiB
#6 Wrong Answer Detail 19ms 6.492 MiB
#7 Wrong Answer Detail 25ms 6.426 MiB
#8 Wrong Answer Detail 25ms 6.426 MiB
#9 Wrong Answer Detail 19ms 6.465 MiB
#10 Wrong Answer Detail 26ms 6.484 MiB

Information

Submit By
Type
Submission
Homework
Lab 5 (TEST ONLY) (+AUTO)
Language
C
Submit At
2021-11-17 21:01:39
Judged At
2021-11-21 15:06:44
Judged By
Score
0
Total Time
245ms
Peak Memory
6.516 MiB