x:行数
y:列数
m:每行几个数
int get_id(int x,int y)
{
return m*(x-1)+y-1;}
int break_id_x(int id)
return id/m+1;
}
int break_id_y(int id)
return id%m+1;