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/cc23gUQ4.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 29ms 6.422 MiB
#2 Accepted Detail 29ms 6.352 MiB
#3 Accepted Detail 18ms 6.484 MiB
#4 Accepted Detail 17ms 6.461 MiB
#5 Accepted Detail 17ms 6.441 MiB
#6 Accepted Detail 24ms 6.355 MiB
#7 Accepted Detail 23ms 6.434 MiB
#8 Accepted Detail 17ms 6.504 MiB
#9 Accepted Detail 25ms 6.359 MiB
#10 Accepted Detail 17ms 6.449 MiB

Information

Submit By
Type
Submission
Homework
Lab 5 (TEST ONLY) (+AUTO)
Language
C
Submit At
2021-11-14 16:49:48
Judged At
2021-11-21 15:06:22
Judged By
Score
100
Total Time
221ms
Peak Memory
6.504 MiB