2016多校训练Contest6: 1002 A Simple Chess hdu5794
Problem DescriptionThere is a n×m board, a chess want to go to the position (n,m) from the position (1,1).The chess is able to go to position (x2,y2) from the position (x1,y1), only an