There is a rectangular house with square tiles in red and black on the floor. You stand on one of the black tiles and can only move to the adjacent black tile. Please write a program to calculate h
There is a rectangular house with square tiles in red and black on the floor. You stand on one of the black tiles and can only move to the adjacent black tile. Please write a program to calculate h