/in/foo.cc: In function 'int tili(int*, int)':
/in/foo.cc:57:4: warning: operation on 'n' may be undefined [-Wsequence-point]
n=n=RemoveAt(a,n,zxnum2);
~^~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:49:38: warning: unused variable 'zuixiao' [-Wunused-variable]
int zuixiao1,zxnum1,zuixiao2,zxnum2,zuixiao,he;
^~~~~~~
/in/foo.cc:63:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/in/foo.cc: In function 'int chazhao(int*, int, int)':
/in/foo.cc:32:9: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
return x;
^
/in/foo.cc: In function 'int tili(int*, int)':
/in/foo.cc:36:2: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(k>=n || k<0) return n;
^~
/in/foo.cc:22:6: note: 'x' was declared here
int x;
^