Record Detail

Compile Error

/in/exam3_matrix.cpp: In member function 'void intMatrix::fillFrom(std::vector<int>&)':
/in/exam3_matrix.cpp:44:16: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
         if(len != source.size())
            ~~~~^~~~~~~~~~~~~~~~
/in/exam3_matrix.cpp: In function 'std::__cxx11::string findSingleWord(std::vector<std::__cxx11::basic_string<char> >&)':
/in/exam3_matrix.cpp:88:18: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
     for(int i=0;i<arr.size();i++)
                 ~^~~~~~~~~~~
/in/exam3_matrix.cpp:96:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1plus: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Final Exam
Language
C++
Submit At
2022-08-02 15:26:48
Judged At
2022-08-06 15:13:53
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes