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/ccsHiY5o.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 | 18ms | 6.449 MiB |
#2 | Accepted Detail | 21ms | 6.465 MiB |
#3 | Accepted Detail | 30ms | 6.473 MiB |
#4 | Accepted Detail | 33ms | 6.449 MiB |
#5 | Accepted Detail | 39ms | 6.492 MiB |
#6 | Accepted Detail | 30ms | 6.578 MiB |
#7 | Accepted Detail | 44ms | 6.539 MiB |
#8 | Accepted Detail | 35ms | 6.625 MiB |
#9 | Accepted Detail | 39ms | 6.656 MiB |
#10 | Accepted Detail | 40ms | 6.664 MiB |
Information
- Submit By
- Type
- Submission
- Homework
- Lab 5 (TEST ONLY) (+AUTO)
- Language
- C
- Submit At
- 2021-11-14 21:11:19
- Judged At
- 2021-11-21 15:06:00
- Judged By
- Score
- 100
- Total Time
- 335ms
- Peak Memory
- 6.664 MiB