Record Detail

Accepted

/in/database.c: In function 'main':
/in/database.c:31:11: warning: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration]
     while(gets(com)!=NULL)
           ^~~~
           fgets
/in/database.c:31:20: warning: comparison between pointer and integer
     while(gets(com)!=NULL)
                    ^~
/tmp/ccTVhaRB.o: In function `main':
database.c:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
# Status Time Cost Memory Cost
#1 Accepted Detail 1ms 256.0 KiB
#2 Accepted Detail 1ms 264.0 KiB
#3 Accepted Detail 1ms 256.0 KiB
#4 Accepted Detail 1ms 384.0 KiB
#5 Accepted Detail 1ms 384.0 KiB

Information

Submit By
Type
Submission
Homework
Lab 5 (TEST ONLY) (+AUTO)
Language
C
Submit At
2021-11-14 22:42:56
Judged At
2021-11-21 15:06:22
Judged By
Score
100
Total Time
6ms
Peak Memory
384.0 KiB