foo.cc: In function 'int ZH(int*, int, char*, int)':
foo.cc:70:22: warning: 'sizeof' on array function parameter 'a' will return size of 'int*' [-Wsizeof-array-argument]
memset(a,0,sizeof(a));
^
foo.cc:41:14: note: declared here
int ZH(int a[],int an,char c[],int k)
^
foo.cc:70:20: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset(a,0,sizeof(a));
^
foo.cc:69:12: warning: 'b[0]' may be used uninitialized in this function [-Wmaybe-uninitialized]
while(b[l]==0)l++;
~~~^
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。