Record Detail

Accepted

/in/database.c:6:15: warning: missing braces around initializer [-Wmissing-braces]
 Database db = {.tableNum = 0, .tables={'\0'}};
               ^
                                        {
                                        {   }
                                            }
/in/database.c: In function 'main':
/in/database.c:384:9: warning: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration]
         gets(str);
         ^~~~
         fgets
/tmp/ccbtDZqy.o: In function `main':
database.c:(.text.startup+0x79): warning: the `gets' function is dangerous and should not be used.
# Status Time Cost Memory Cost
#1 Accepted Detail 1ms 256.0 KiB
#2 Accepted Detail 1ms 240.0 KiB
#3 Accepted Detail 1ms 256.0 KiB
#4 Accepted Detail 1ms 388.0 KiB
#5 Accepted Detail 1ms 508.0 KiB

Information

Submit By
Type
Submission
Homework
Lab 5 (TEST ONLY) (+AUTO)
Language
C
Submit At
2021-11-14 21:11:08
Judged At
2021-11-21 15:06:00
Judged By
Score
100
Total Time
6ms
Peak Memory
508.0 KiB