foo.cc: In function 'void A(int*, int, int*)':
foo.cc:50:21: warning: 'sizeof' on array function parameter 'b' will return size of 'int*' [-Wsizeof-array-argument]
memset(b,0,sizeof(b));
^
foo.cc:48:28: note: declared here
void A(int a[],int n,int b[])
^
foo.cc:50:19: 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(b,0,sizeof(b));
^
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。