Record Detail

Compile Error

/in/call.cpp:87:16: error: using the result of an assignment as a condition without parentheses [-Werror,-Wparentheses]
    if(lefttime=0){
       ~~~~~~~~^~
/in/call.cpp:87:16: note: place parentheses around the assignment to silence this warning
    if(lefttime=0){
               ^
       (         )
/in/call.cpp:87:16: note: use '==' to turn this assignment into an equality comparison
    if(lefttime=0){
               ^
               ==
1 error generated.
/in/Compile/Makefile:39: recipe for target 'buildCall' failed
make: *** [buildCall] Error 1

Information

Submit By
Type
Submission
Homework
Project 5
Language
C++
Submit At
2024-12-22 12:31:21
Judged At
2024-12-22 12:31:21
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes