/in/foo.cc: In function 'std::vector<int> maxI(int*, int)':
/in/foo.cc:16:13: warning: variable 'ri' set but not used [-Wunused-but-set-variable]
int r = 0, ri;
^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:55:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < mMd.size(); i++) {
~~^~~~~~~~~~~~
/in/foo.cc:57:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
printf(i == mMd.size() - 1 ? "" : " ");
~~^~~~~~~~~~~~~~~~~
/in/foo.cc:62:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < mNd.size(); i++) {
~~^~~~~~~~~~~~
/in/foo.cc:64:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
printf(i == mNd.size() - 1 ? "" : " ");
~~^~~~~~~~~~~~~~~~~