/in/foo.cc: In function 'int jia(int*, int*)':
/in/foo.cc:12:11: warning: operation on 'lenc' may be undefined [-Wsequence-point]
a[++lenc]=a[lenc]+b[lenc]+x;
^~~~~~
/in/foo.cc:12:11: warning: operation on 'lenc' may be undefined [-Wsequence-point]
/in/foo.cc:18:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:29:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (kk==0) y=minn;int tot=0;
^~
/in/foo.cc:29:27: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (kk==0) y=minn;int tot=0;
^~~