/in/foo.cc: In function 'int main()':
/in/foo.cc:18:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int j=0;j<strlen( ch[i] );j++ )
~^~~~~~~~~~~~~~~~
/in/foo.cc:21:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int j=0;j<strlen( h[i] );j++ )
~^~~~~~~~~~~~~~~
/in/foo.cc:29:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while( s1<strlen( ch[i] ) && s2<strlen( h[j] ) )
~~^~~~~~~~~~~~~~~~
/in/foo.cc:29:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while( s1<strlen( ch[i] ) && s2<strlen( h[j] ) )
~~^~~~~~~~~~~~~~~
/in/foo.cc:34:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if( s2==strlen( h[j] ) ) ans[i]++;
~~^~~~~~~~~~~~~~~~