#include #include #define POS(i,j) ((i)*w+(j)) void run(void){ int h,w; scanf("%d%d",&h,&w); int *dp=(int *)malloc(sizeof(int)*h*w); int i; for(i=0;i