Record Detail

Runtime Error

/in/lab4.c: In function 'par':
/in/lab4.c:32:5: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
     memset(stack,0,120);
     ^~~~~~
/in/lab4.c:33:5: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
     memset(sss,0,120);
     ^~~~~~
/in/lab4.c:34:5: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
     memset(stack1,0,120);
     ^~~~~~
/in/lab4.c:35:5: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
     memset(helper,0,120);
     ^~~~~~
/in/lab4.c:140:28: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
             stack1[top1++] = c;
             ~~~~~~~~~~~~~~~^~~
# Status Time Cost Memory Cost
#1 Runtime Error (1) Detail 27ms 7.301 MiB

Information

Submit By
Type
Submission
Homework
Lab 4 (TEST ONLY)
Language
C
Submit At
2021-11-08 18:49:43
Judged At
2021-11-21 14:58:42
Judged By
Score
0
Total Time
27ms
Peak Memory
7.301 MiB