Record Detail

Runtime Error

/in/lab4.c: In function 'calculateExpression':
/in/lab4.c:155:24: warning: format not a string literal and no format arguments [-Wformat-security]
                 printf(left);
                        ^~~~
/in/lab4.c: In function 'getRight':
/in/lab4.c:162:9: warning: unused variable 'i' [-Wunused-variable]
     int i;
         ^
/in/lab4.c: In function 'getleft':
/in/lab4.c:185:9: warning: unused variable 'i' [-Wunused-variable]
     int i;
         ^
/in/lab4.c: In function 'calculate':
/in/lab4.c:415:26: warning: unused variable 'c' [-Wunused-variable]
     double a = 0, b = 0, c = 0; //�ֱ����������С������
                          ^
/in/lab4.c:412:15: warning: unused variable 'y' [-Wunused-variable]
     double x, y;                //�ݴ�����
               ^
/in/lab4.c:411:12: warning: unused variable 'j' [-Wunused-variable]
     int i, j;
            ^
/in/lab4.c: In function 'isOK':
/in/lab4.c:528:9: warning: unused variable 'flag' [-Wunused-variable]
     int flag = 0;
         ^~~~
/in/lab4.c: In function 'Operate':
/in/lab4.c:510:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# Status Time Cost Memory Cost
#1 Runtime Error (1) Detail 27ms 7.43 MiB

Information

Submit By
Type
Submission
Homework
Lab 4 (TEST ONLY)
Language
C
Submit At
2021-11-11 20:33:24
Judged At
2021-11-21 14:58:55
Judged By
Score
0
Total Time
27ms
Peak Memory
7.43 MiB