which are not occupied with blocks. (These two squares are distinct.) Once the stone begins to move, it will proceed until it hits a block. In order to bring the stone to the goal, you may have to stop the stone by hitting
Memory Limit: 65536KB This problem will be judged onPKU. Original ID:3009 64-bit integer IO format:%lld Java class name:Main On Planet MM-21, after their Olympic games this year, curling is getting popular. But the rules are somewhat different from ours. The game is played on an ice ...
java环境变量 随笔分类 -poj 3009 Curling 2.0---搜索 About 昵称:java环境变量 园龄:12年6个月 粉丝:1 关注:0 +加关注
which are not occupied with blocks. (These two squares are distinct.) Once the stone begins to move, it will proceed until it hits a block. In order to bring the stone to the goal, you may have to stop the stone by hitting
Fig. 1: Example of board (S: start, G: goal) The movement of the stone obeys the following rules: At the beginning, the stone stands still at the start square. The movements of the stone are restricted to x and y directions. Diagonal moves are prohibited. ...