关灯游戏源代码(更新)
http://blog.csdn.net/mathe/archive/2006/08/30/1143634.aspx
一条线上有n个棋子, 两个人轮流拿1个或者连续的2个(拿走后两边的棋子就不连续了) 不允许把棋子拿光(也就是最后一个子不可以拿), 不允许不拿. 谁不能行动就输了. 对于这个程序,输入可以包含多行,比如 cnext 2 2*3 5 表示一行2个棋子,两行3个棋子和一行5个棋子。
orchard plant problem data for 17 trees (4 trees pre row) total 14 rows
orchard plant problem data for 17 trees with 4 trees per row total 14 rows
orchard plant problem data for 17 trees with 4 trees per row total 14 trees
orchard plant problem data 17 trees with 4 trees per row total 14 rows
data file for orchard plant problem for 17 trees with 4 trees per row total 14 rows
orchard tree planting problem for 17 trees with 4 trees per row total 14 rows
orchard plant tree data for 17 trees with 4 trees per row, totol 14 rows
result for orchard plant problem with 17trees 4 trees per row