/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:29: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:29: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:36:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<s[i].length();j++){
~^~~~~~~~~~~~~~
/in/foo.cc:46:46: error: expected primary-expression before ')' token
if(max(sum1,sum2)>=21&& abs(sum2-sum1)>=2)){
^