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 28ms 6.438 MiB
#2 Accepted Detail 22ms 6.496 MiB
#3 Accepted Detail 29ms 6.43 MiB
#4 Accepted Detail 18ms 6.527 MiB
#5 Accepted Detail 30ms 6.43 MiB
#6 Accepted Detail 18ms 6.496 MiB
#7 Accepted Detail 24ms 6.43 MiB
#8 Accepted Detail 17ms 6.516 MiB
#9 Accepted Detail 19ms 6.516 MiB
#10 Accepted Detail 30ms 6.539 MiB

Information

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