/in/foo.cc: In function 'void GetCnt(std::__cxx11::string, int*)':
/in/foo.cc:7:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<s.length()-1; i++)
~^~~~~~~~~~~~~
/in/foo.cc: In function 'int Max(int*, int)':
/in/foo.cc:25:9: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
return max;
^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:21:6: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
int max;
^~~