Record Detail

Wrong Answer

/in/database.c: In function 'self':
/in/database.c:276:29: warning: unused variable 'n' [-Wunused-variable]
             int k=0,delta=6,n=0;
                             ^
/in/database.c:68:24: warning: unused variable 'filename' [-Wunused-variable]
         char head[256],filename[256],tablename[256];
                        ^~~~~~~~
/in/database.c: In function 'main':
/in/database.c:363:5: warning: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration]
     gets(order);
     ^~~~
     fgets
/in/database.c:571:29: warning: unused variable 'n' [-Wunused-variable]
             int k=0,delta=6,n=0;
                             ^
/tmp/ccyrUfRT.o: In function `main':
database.c:(.text.startup+0x7a6): warning: the `gets' function is dangerous and should not be used.
# Status Time Cost Memory Cost
#1 Wrong Answer Detail 19ms 6.504 MiB
#2 Wrong Answer Detail 32ms 6.457 MiB
#3 Wrong Answer Detail 21ms 6.57 MiB
#4 Wrong Answer Detail 32ms 6.453 MiB
#5 Wrong Answer Detail 21ms 6.617 MiB
#6 Wrong Answer Detail 32ms 6.457 MiB
#7 Wrong Answer Detail 26ms 6.562 MiB
#8 Wrong Answer Detail 23ms 6.566 MiB
#9 Wrong Answer Detail 23ms 6.562 MiB
#10 Wrong Answer Detail 19ms 6.547 MiB

Information

Submit By
Type
Submission
Homework
Lab 5 (TEST ONLY) (+AUTO)
Language
C
Submit At
2021-11-17 16:32:34
Judged At
2021-11-21 15:06:50
Judged By
Score
0
Total Time
253ms
Peak Memory
6.617 MiB