Record Detail

Runtime Error

/in/lab5.c: In function 'main':
/in/lab5.c:160:74: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (top2==0 || (load_stack[top2-1]=='(' && top2>0 && top2<max_len)){
                                                                          ^
/in/lab5.c:162:100: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 }else if(precedence(infix[row][i])>precedence(load_stack[top2-1]) && top2>0 && top2<max_len){
                                                                                                    ^
/in/lab5.c:164:101: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 }else if(precedence(infix[row][i])==precedence(load_stack[top2-1]) && top2>0 && top2<max_len){
                                                                                                     ^
/in/lab5.c:170:100: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 }else if(precedence(infix[row][i])<precedence(load_stack[top2-1]) && top2>0 && top2<max_len){
                                                                                                    ^
# Status Time Cost Memory Cost
#1 Runtime Error (1) Detail 29ms 7.414 MiB

Information

Submit By
Type
Submission
Homework
Lab 5: CASIO-fx991
Language
C
Submit At
2024-11-15 13:50:29
Judged At
2024-11-15 13:50:29
Judged By
Score
0
Total Time
29ms
Peak Memory
7.414 MiB