/in/foo.cc: In function 'int main()':
/in/foo.cc:11:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<s[i].length();j++){
~^~~~~~~~~~~~~~
/in/foo.cc:28:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (sum1>0 || sum2>0) printf("%d:%d\n",sum1,sum2);printf("\n");
^~
/in/foo.cc:28:52: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (sum1>0 || sum2>0) printf("%d:%d\n",sum1,sum2);printf("\n");
^~~~~~
/in/foo.cc:31:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<s[i].length();j++){
~^~~~~~~~~~~~~~