struct _pos{
int x;
int y;
}delta[]={
{0,-1},
{0,1},
{-1,0},
{1,0}};

for(k=0;k<4;k++) {
tree[i+delta[k].x][j+delta[k].y];
}
の方が佐賀