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/ccqEGUQo.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 21ms 6.48 MiB
#2 Accepted Detail 23ms 6.445 MiB
#3 Accepted Detail 20ms 6.488 MiB
#4 Accepted Detail 21ms 6.516 MiB
#5 Accepted Detail 23ms 6.566 MiB
#6 Accepted Detail 24ms 6.531 MiB
#7 Accepted Detail 26ms 6.629 MiB
#8 Accepted Detail 33ms 6.609 MiB
#9 Accepted Detail 36ms 6.664 MiB
#10 Accepted Detail 31ms 6.754 MiB

Information

Submit By
Type
Submission
Homework
Lab 5 (TEST ONLY) (+AUTO)
Language
C
Submit At
2021-11-15 21:12:51
Judged At
2021-11-21 15:05:52
Judged By
Score
100
Total Time
263ms
Peak Memory
6.754 MiB