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/ccqngRGk.o: In function `main':
database.c:(.text.startup+0x176): warning: the `gets' function is dangerous and should not be used.
# Status Time Cost Memory Cost
#1 Accepted Detail 28ms 6.266 MiB
#2 Accepted Detail 18ms 6.402 MiB
#3 Accepted Detail 31ms 6.332 MiB
#4 Accepted Detail 24ms 6.473 MiB
#5 Accepted Detail 32ms 6.367 MiB
#6 Accepted Detail 21ms 6.492 MiB
#7 Accepted Detail 34ms 6.516 MiB
#8 Accepted Detail 24ms 6.555 MiB
#9 Accepted Detail 23ms 6.598 MiB
#10 Accepted Detail 36ms 6.551 MiB

Information

Submit By
Type
Submission
Homework
Lab 5 (TEST ONLY) (+AUTO)
Language
C
Submit At
2021-11-14 22:43:20
Judged At
2021-11-21 15:06:21
Judged By
Score
100
Total Time
276ms
Peak Memory
6.598 MiB