Record Detail

Accepted

/in/database.c: In function 'main':
/in/database.c:30:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
         while(strcomm[num++]=strtok(NULL," "));
               ^~~~~~~
/in/database.c: In function 'dbauto':
/in/database.c:75:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
         while(strcomm[num++]=strtok(NULL," "));
               ^~~~~~~
/in/database.c: In function 'dblist':
/in/database.c:159:32: warning: unused parameter 'strcomm' [-Wunused-parameter]
 void dblist(Database *db,char *strcomm[]){
                                ^~~~~~~
# Status Time Cost Memory Cost
#1 Accepted Detail 23ms 6.348 MiB
#2 Accepted Detail 19ms 6.477 MiB
#3 Accepted Detail 31ms 6.406 MiB
#4 Accepted Detail 20ms 6.543 MiB
#5 Accepted Detail 23ms 6.52 MiB
#6 Accepted Detail 23ms 6.551 MiB
#7 Accepted Detail 24ms 6.602 MiB
#8 Accepted Detail 34ms 6.598 MiB
#9 Accepted Detail 26ms 6.746 MiB
#10 Accepted Detail 39ms 6.586 MiB

Information

Submit By
Type
Submission
Homework
Lab 5 (TEST ONLY) (+AUTO)
Language
C
Submit At
2021-11-15 16:07:54
Judged At
2021-11-21 15:05:58
Judged By
Score
100
Total Time
267ms
Peak Memory
6.746 MiB