摘要: Description 小明和小红经常玩一个博弈游戏。给定一个n×n的棋盘,一个石头被放在棋盘的左上角。他们轮流移动石头。每一回合,选手只能把石头向上,下,左,右四个方向移动一格,并且要求移动到的格子之前不能被访问过。谁不能移动石头了就算输。假如小明先移动石头,而且两个选手都以最优策略走步,问最后谁 阅读全文
posted @ 2016-07-22 22:41 ljh_2000 阅读(227) 评论(0) 推荐(0) 编辑
摘要: Description In the Fibonacci integer sequence, F0 = 0, F1 = 1, and Fn = Fn − 1 + Fn − 2 for n ≥ 2. For example, the first ten terms of the Fibonacci s 阅读全文
posted @ 2016-07-22 15:21 ljh_2000 阅读(153) 评论(0) 推荐(0) 编辑