Record Detail

Accepted

/in/database.c: In function 'AUTO':
/in/database.c:237:13: warning: writing into constant object (argument 3) [-Wformat=]
             sscanf(line, "%*s %s", filename);
             ^~~~~~
/in/database.c:242:13: warning: writing into constant object (argument 4) [-Wformat=]
             sscanf(line, "%*s %s %s\n", tname, filename);
             ^~~~~~
/in/database.c: In function 'main':
/in/database.c:286:9: warning: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration]
         gets(command);
         ^~~~
         fgets
/tmp/ccKWwAG8.o: In function `main':
database.c:(.text.startup+0x2b8): warning: the `gets' function is dangerous and should not be used.
# Status Time Cost Memory Cost
#1 Accepted Detail 25ms 6.32 MiB
#2 Accepted Detail 26ms 6.363 MiB
#3 Accepted Detail 42ms 6.555 MiB
#4 Accepted Detail 40ms 6.406 MiB
#5 Accepted Detail 32ms 6.578 MiB
#6 Accepted Detail 27ms 6.672 MiB
#7 Accepted Detail 50ms 6.539 MiB
#8 Accepted Detail 37ms 6.625 MiB
#9 Accepted Detail 35ms 6.738 MiB
#10 Accepted Detail 46ms 6.707 MiB

Information

Submit By
Type
Submission
Homework
Lab 5 (TEST ONLY) (+AUTO)
Language
C
Submit At
2021-11-15 17:37:13
Judged At
2021-11-21 15:05:55
Judged By
Score
100
Total Time
364ms
Peak Memory
6.738 MiB