Record Detail

Runtime Error

/in/lab4.c: In function 'reverseExp':
/in/lab4.c:226:26: warning: implicit declaration of function 'toascii'; did you mean '__toascii'? [-Wimplicit-function-declaration]
                 RVP[m] = toascii(commands[j]);
                          ^~~~~~~
                          __toascii
/in/lab4.c:227:34: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
                 if (!commands[j] == 0.0) { // 暂时不支持 输入值为0.0的情况
                                  ^~
/in/lab4.c:227:21: note: add parentheses around left hand side expression to silence this warning
                 if (!commands[j] == 0.0) { // 暂时不支持 输入值为0.0的情况
                     ^~~~~~~~~~~~
                     (           )
/in/lab4.c:255:33: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
                     if (!RVP[j] == 0.0) {
                                 ^~
/in/lab4.c:255:25: note: add parentheses around left hand side expression to silence this warning
                     if (!RVP[j] == 0.0) {
                         ^~~~~~~
                         (      )
/in/lab4.c: In function 'GT_atof':
/in/lab4.c:402:19: warning: unused variable 'j' [-Wunused-variable]
     int nc, d, i, j, neg;
                   ^
/in/lab4.c:402:13: warning: unused variable 'd' [-Wunused-variable]
     int nc, d, i, j, neg;
             ^
/in/lab4.c: In function 'parseFPrintf':
/in/lab4.c:619:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/lab4.c: In function 'replaceIdenty':
/in/lab4.c:688:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/lab4.c: In function 'saveOut_put':
/in/lab4.c:748:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/lab4.c: In function 'reverseExp':
/in/lab4.c:365:30: warning: array subscript is below array bounds [-Warray-bounds]
                         stack[top++] = RVP[j];
                         ~~~~~^~~~~~~
# Status Time Cost Memory Cost
#1 Runtime Error (-6) Detail 10ms 6.32 MiB

Information

Submit By
Type
Submission
Homework
Lab 4 (TEST ONLY)
Language
C
Submit At
2021-11-04 22:58:06
Judged At
2021-11-21 14:58:53
Judged By
Score
0
Total Time
10ms
Peak Memory
6.32 MiB