Problem B: Amity Assessment
Time Limit: 2 Sec Memory Limit: 256 MB
Submit: 68 Solved: 27
[Submit][Status][Web Board]Description
Bessie the cow and her best friend Elsie each received a sliding puzzle on Pi Day. Their puzzles consist of a 2×2 grid and three tiles labeled 'A', 'B', and 'C'. The three tiles sit on top of the grid, leaving one grid cell empty. To make a move, Bessie or Elsie can slide a tile adjacent to the empty cell into the empty cell as shown below:
In order to
中医药院校程序设计竞赛备赛一-Problem B: Amity Assessment(二维转一维)
最新推荐文章于 2020-02-07 23:44:52 发布