Record Detail

Wrong Answer

In file included from /in/database.c:4:0:
/in/persistence.h: In function 'loadTable':
/in/persistence.h:40:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for(i=0;i<strlen(buff);i++){
                      ^
/in/persistence.h:43:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if(buff[i]==' ' || i==strlen(buff)-1){
                                     ^~
/in/database.c: In function 'main':
/in/database.c:118:9: warning: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration]
         gets(buff);
         ^~~~
         fgets
/tmp/ccPViACs.o: In function `main':
database.c:(.text.startup+0x8e): warning: the `gets' function is dangerous and should not be used.
# Status Time Cost Memory Cost
#1 Wrong Answer Detail 26ms 6.477 MiB
#2 Wrong Answer Detail 19ms 6.477 MiB
#3 Wrong Answer Detail 24ms 6.391 MiB
#4 Wrong Answer Detail 20ms 6.43 MiB
#5 Wrong Answer Detail 26ms 6.5 MiB
#6 Wrong Answer Detail 26ms 6.414 MiB
#7 Wrong Answer Detail 30ms 6.496 MiB
#8 Wrong Answer Detail 31ms 6.41 MiB
#9 Wrong Answer Detail 45ms 6.426 MiB
#10 Wrong Answer Detail 33ms 6.395 MiB

Information

Submit By
Type
Submission
Homework
Lab 5 (TEST ONLY) (+AUTO)
Language
C
Submit At
2021-11-15 18:15:37
Judged At
2021-11-21 15:06:44
Judged By
Score
0
Total Time
284ms
Peak Memory
6.5 MiB