Record Detail

Compile Error

/in/ex3.cpp: In function 'void findPeaks(double*, int)':
/in/ex3.cpp:25:20: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
     for(int j = 1;j<sign.size();j++)
                   ~^~~~~~~~~~~~
/in/ex3.cpp:33:20: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
     for(int m = 0;m<indMax.size();m++)
                   ~^~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Homework 7
Language
C++
Submit At
2020-08-05 21:31:12
Judged At
2020-08-05 21:31:12
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes