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 1ms 260.0 KiB
#2 Accepted Detail 1ms 264.0 KiB
#3 Accepted Detail 1ms 340.0 KiB
#4 Accepted Detail 1ms 276.0 KiB
#5 Accepted Detail 1ms 384.0 KiB

Information

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