Record Detail

Accepted

/in/lab4.c: In function 'divide':
/in/lab4.c:88:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i=0;i<strlen(save);i++)
               ^
/in/lab4.c: In function 'main':
/in/lab4.c:143:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(i=0,j=0;i<strlen(fsave);i++)
                      ^
/in/lab4.c:161:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
             while(z=strstr(fsave2,"\\n"))
                   ^
/in/lab4.c:172:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
             if(x=strstr(y+1,","))  //read the value behind the ',', which indicates the latter part in ("array",value)
                ^
/in/lab4.c:180:25: warning: format not a string literal and no format arguments [-Wformat-security]
             else printf(fsave2);
                         ^~~~~~
# Status Time Cost Memory Cost
#1 Accepted Detail 28ms 6.25 MiB

Information

Submit By
Type
Submission
Homework
Lab 4 (TEST ONLY)
Language
C
Submit At
2021-11-06 15:33:42
Judged At
2021-11-21 14:58:30
Judged By
Score
20
Total Time
28ms
Peak Memory
6.25 MiB