int **h;
h=(int **)malloc(m*sizeof(int));
for(int i=0;i<m;i++){
h[i]=(int *)malloc(n*sizeof(int));
}