Record Detail

Runtime Error

/in/lab5.c: In function 'rpe':
/in/lab5.c:50:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i=0; i<strlen(input); i++){
                    ^
/in/lab5.c:56:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 for (int t=0; t<strlen(varn); t++){
                                ^
/in/lab5.c:84:24: warning: unused variable 'element' [-Wunused-variable]
                 double element=oper[--o]; oper[o]=0;
                        ^~~~~~~
/in/lab5.c:116:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int t=0; t<strlen(varn); t++){
                        ^
/in/lab5.c:47:21: warning: unused variable 'n' [-Wunused-variable]
     int o=0,r=0,h=0,n=0,time=0,vn=0,t0=0;
                     ^
/in/lab5.c: In function 'main':
/in/lab5.c:183:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for(int i=0;i<strlen(left);i++){vars[v][i]=left[i];}
                          ^
/in/lab5.c:193:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     for(int i=0;i<strlen(left);i++){vars[v][i]=left[i];}
                                  ^
/in/lab5.c:161:10: warning: unused variable 'var' [-Wunused-variable]
     char var[120]={'\0'};//读取到的变量名字
          ^~~
/in/lab5.c:158:9: warning: unused variable 'varnums' [-Wunused-variable]
     int varnums=0; //变量个数
         ^~~~~~~
# Status Time Cost Memory Cost
#1 Runtime Error (1) Detail 25ms 7.25 MiB

Information

Submit By
Type
Submission
Homework
Lab 5: CASIO-fx991
Language
C
Submit At
2024-11-15 00:32:55
Judged At
2024-11-15 00:32:55
Judged By
Score
0
Total Time
25ms
Peak Memory
7.25 MiB