/in/foo.cc: In function 'int Inserst(std::__cxx11::string&, int, int)':
/in/foo.cc:8:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:15:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<s.length();i++)
~^~~~~~~~~~~
/in/foo.cc:19:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<s.length() && s[i]!=' ') i++;
~^~~~~~~~~~~