/in/foo.cc: In function 'int main()':
/in/foo.cc:12:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<s[i].length();j++){
~^~~~~~~~~~~~~~
/in/foo.cc:34: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:34: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:41:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<s[i].length();j++){
~^~~~~~~~~~~~~~
/in/foo.cc:63: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:63: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");
^~~~~~