In file included from /in/main/main.cpp:3:0:
/in/detector.h: In member function 'void Detector::maxDetector(std::vector<int>)':
/in/detector.h:18:23: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (int i = 0; i < inputArray.size(); i++) {
~~^~~~~~~~~~~~~~~~~~~
/in/detector.h:21:23: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (int j = 0; j < zero.size(); j++) {
~~^~~~~~~~~~~~~
/in/detector.h:23:26: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
else if (zero[j] == inputArray.size()) adjacent.push_back(inputArray[j - 1]);
cc1plus: all warnings being treated as errors