Record Detail

Compile Error

/in/sam.cpp: In function 'int main(int, char**)':
/in/sam.cpp:131:38: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
          for (long unsigned int i=0;i<tempsize;i++){
                                     ~^~~~~~~~~
/in/sam.cpp:136:38: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
          for (long unsigned int i=0;i<tempsize;i++){
                                     ~^~~~~~~~~
/in/sam.cpp:159:41: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
             for (long unsigned int i=0;i<tempsize1;i++){
                                        ~^~~~~~~~~~
/in/sam.cpp:164:38: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
          for (long unsigned int i=0;i<tempsize1;i++){
                                     ~^~~~~~~~~~
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-07-31 18:44:43
Judged At
2021-07-31 18:44:43
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes