Record Detail

Accepted

/in/database.c: In function 'main':
/in/database.c:510:9: warning: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration]
         gets(strin);
         ^~~~
         fgets
In file included from /usr/include/stdio.h:862:0,
                 from /in/database.c:1:
In function 'fgets',
    inlined from 'AUTO' at /in/database.c:474:13:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:260:9: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer
  return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/cctK4cgt.o: In function `main':
database.c:(.text.startup+0x779): warning: the `gets' function is dangerous and should not be used.
# Status Time Cost Memory Cost
#1 Accepted Detail 20ms 7.059 MiB
#2 Accepted Detail 27ms 7.105 MiB
#3 Accepted Detail 26ms 7.164 MiB
#4 Accepted Detail 20ms 7.062 MiB
#5 Accepted Detail 27ms 6.93 MiB
#6 Accepted Detail 19ms 7.148 MiB
#7 Accepted Detail 25ms 7.094 MiB
#8 Accepted Detail 25ms 6.969 MiB
#9 Accepted Detail 23ms 7.043 MiB
#10 Accepted Detail 19ms 7.121 MiB

Information

Submit By
Type
Submission
Homework
Lab 5 (TEST ONLY) (+AUTO)
Language
C
Submit At
2021-11-14 22:47:50
Judged At
2021-11-21 15:06:28
Judged By
Score
100
Total Time
236ms
Peak Memory
7.164 MiB