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/ccgbFhOT.o: In function `main':
database.c:(.text.startup+0x155): warning: the `gets' function is dangerous and should not be used.
# Status Time Cost Memory Cost
#1 Wrong Answer Detail 1ms 336.0 KiB
#2 Wrong Answer Detail 1ms 260.0 KiB
#3 Wrong Answer Detail 1ms 380.0 KiB
#4 Wrong Answer Detail 1ms 296.0 KiB
#5 Wrong Answer Detail 1ms 392.0 KiB

Information

Submit By
Type
Submission
Homework
Lab 5 (TEST ONLY) (+AUTO)
Language
C
Submit At
2021-11-17 16:47:49
Judged At
2021-11-21 15:06:50
Judged By
Score
0
Total Time
7ms
Peak Memory
392.0 KiB