Record Detail

Wrong Answer

/in/lab4.c: In function 'main':
/in/lab4.c:280:17: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
                 memset(comb,0,120);
                 ^~~~~~
/in/lab4.c:281:17: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
                 memset(rpe,0,120);
                 ^~~~~~
/in/lab4.c: In function 'precmp':
/in/lab4.c:23:1: warning: control reaches end of non-void function [-Wreturn-type]
 }//0 < ;1 > ;2 =
 ^
/in/lab4.c: In function 'main':
/in/lab4.c:272:20: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
                 if (p == 1) {
                    ^
/in/lab4.c:66:33: warning: 'end' may be used uninitialized in this function [-Wmaybe-uninitialized]
                     int cont=end-start-1;
                              ~~~^~~~~~
/in/lab4.c:66:33: warning: 'start' may be used uninitialized in this function [-Wmaybe-uninitialized]
/in/lab4.c:52:20: warning: 'print' may be used uninitialized in this function [-Wmaybe-uninitialized]
                 if (print == 1) {
                    ^
/in/lab4.c:42:16: warning: 'cal' may be used uninitialized in this function [-Wmaybe-uninitialized]
             if (cal==0) {     //输出语句
                ^
# Status Time Cost Memory Cost
#1 Wrong Answer Detail 22ms 6.258 MiB

Information

Submit By
Type
Submission
Homework
Lab 4 (TEST ONLY)
Language
C
Submit At
2021-11-11 18:33:00
Judged At
2021-11-21 14:59:01
Judged By
Score
0
Total Time
22ms
Peak Memory
6.258 MiB