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:379:9: warning: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration]
         gets(str);
         ^~~~
         fgets
/tmp/ccyYAtZF.o: In function `main':
database.c:(.text.startup+0x40a): warning: the `gets' function is dangerous and should not be used.
# Status Time Cost Memory Cost
#1 Accepted Detail 25ms 6.367 MiB
#2 Accepted Detail 19ms 6.391 MiB
#3 Accepted Detail 20ms 6.426 MiB
#4 Accepted Detail 19ms 6.434 MiB
#5 Accepted Detail 18ms 6.434 MiB
#6 Accepted Detail 26ms 6.43 MiB
#7 Accepted Detail 19ms 6.395 MiB
#8 Accepted Detail 22ms 6.359 MiB
#9 Accepted Detail 22ms 6.441 MiB
#10 Accepted Detail 31ms 6.352 MiB

Information

Submit By
Type
Submission
Homework
Lab 5 (TEST ONLY) (+AUTO)
Language
C
Submit At
2021-11-14 21:02:27
Judged At
2021-11-21 15:06:00
Judged By
Score
100
Total Time
225ms
Peak Memory
6.441 MiB