Record Detail

Compile Error

/in/sam.cpp: In function 'int main(int, char**)':
/in/sam.cpp:40:24: error: comparison with string literal results in unspecified behavior [-Werror=address]
         if (argv[1] == "-s") judge = false;
                        ^~~~
cc1plus: all warnings being treated as errors
/in/compile/Makefile:16: recipe for target 'buildStackMachine' failed
make: *** [buildStackMachine] Error 1

Information

Submit By
Type
Submission
Homework
Project 5
Language
C++
Submit At
2021-08-01 15:27:31
Judged At
2021-08-01 15:27:31
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes