/in/foo.cc: In function 'int getnum1(int)':
/in/foo.cc:16:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<s[x].size();i++){
~^~~~~~~~~~~~
/in/foo.cc: In function 'int getnum2(int)':
/in/foo.cc:32:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<s[x].size();i++){
~^~~~~~~~~~~~
/in/foo.cc:49:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<s[x].size()&&isdigit(s[x][i])){
~^~~~~~~~~~~~
/in/foo.cc: In function 'int getnum1(int)':
/in/foo.cc:29:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^