文件名称:Algorithm2
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:772byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
利用程序求出实例的结果。
1、火柴棍游戏:2堆火柴棍,2人轮流拿。拿的规则如下:1、每次至少拿一根;2、只能从一堆里拿;3、第一堆火柴棍最多拿3根;4、第二堆火柴棍最多拿当前所有火柴棍的一半。谁拿完以后只剩一根火柴棍为赢家。问开始2堆都是20根火柴棍,你想赢,你先拿还是后拿?-The use of procedures results obtained instance. 1, matchstick game: 2 heap of matchsticks, take turns. Take the rules are as follows: 1, each to take at least one 2, can only get from a pile 3, a pile of matchstick up to get 3 4, the second pile of matchstick up to take all matchstick half. Who get finished after only a matchstick winner. 2 heap are asked to start 20 matchstick, you want to win, you acquire or take?
1、火柴棍游戏:2堆火柴棍,2人轮流拿。拿的规则如下:1、每次至少拿一根;2、只能从一堆里拿;3、第一堆火柴棍最多拿3根;4、第二堆火柴棍最多拿当前所有火柴棍的一半。谁拿完以后只剩一根火柴棍为赢家。问开始2堆都是20根火柴棍,你想赢,你先拿还是后拿?-The use of procedures results obtained instance. 1, matchstick game: 2 heap of matchsticks, take turns. Take the rules are as follows: 1, each to take at least one 2, can only get from a pile 3, a pile of matchstick up to get 3 4, the second pile of matchstick up to take all matchstick half. Who get finished after only a matchstick winner. 2 heap are asked to start 20 matchstick, you want to win, you acquire or take?
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Algorithm2.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.