Record Detail

Compile Error

/in/call.cpp:95:13: error: logical not is only applied to the left hand side of this comparison [-Werror,-Wlogical-not-parentheses]
        if (!ans_call_num==call_num && crt_time == call_end_time) break;
            ^            ~~
/in/call.cpp:95:13: note: add parentheses after the '!' to evaluate the comparison first
        if (!ans_call_num==call_num && crt_time == call_end_time) break;
            ^
             (                     )
/in/call.cpp:95:13: note: add parentheses around left hand side expression to silence this warning
        if (!ans_call_num==call_num && crt_time == call_end_time) break;
            ^
            (            )
1 error generated.
/in/Compile/Makefile:39: recipe for target 'buildCall' failed
make: *** [buildCall] Error 1

Information

Submit By
Type
Submission
Homework
Project Five: List, Stack, and Queue
Language
C++
Submit At
2020-12-13 20:47:27
Judged At
2020-12-13 20:47:27
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes