Record Detail

Accepted

/in/database.c: In function 'main':
/in/database.c:477:5: warning: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration]
     gets(command);
     ^~~~
     fgets
/in/database.c: In function 'update':
/in/database.c:142:73: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized]
                                     db.tables[i].assignments[o].deadline=value;
                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/tmp/ccRmVpfL.o: In function `main':
database.c:(.text.startup+0xc2): warning: the `gets' function is dangerous and should not be used.
# Status Time Cost Memory Cost
#1 Accepted Detail 70ms 6.457 MiB
#2 Accepted Detail 18ms 6.516 MiB
#3 Accepted Detail 19ms 6.633 MiB
#4 Accepted Detail 29ms 6.488 MiB
#5 Accepted Detail 24ms 6.484 MiB
#6 Accepted Detail 47ms 6.512 MiB
#7 Accepted Detail 23ms 6.453 MiB
#8 Accepted Detail 23ms 6.441 MiB
#9 Accepted Detail 22ms 6.602 MiB
#10 Accepted Detail 36ms 6.484 MiB

Information

Submit By
Type
Submission
Homework
Lab 5 (TEST ONLY) (+AUTO)
Language
C
Submit At
2021-11-14 10:45:54
Judged At
2021-11-21 15:05:54
Judged By
Score
100
Total Time
316ms
Peak Memory
6.633 MiB