以文本方式查看主题

-  趣题之家  (http://qthome.org/bbs/index.asp)
--  数学皇冠  (http://qthome.org/bbs/list.asp?boardid=15)
----  跳棋游戏  (http://qthome.org/bbs/dispbbs.asp?boardid=15&id=286)

--  作者:趣题之主
--  发布时间:3/13/2005 3:06:44 PM

--  跳棋游戏

有这样一个游戏:


There is an infinite grid and an m* n rectangle of stones on it (1 <= m,n <= 1000). The stones are located in the knots of the grid.


A following game for a single player is being played. One stone can jump over another along a vertical or a horizontal line. A stone which had been overjumped is taken away. The purpose of the game is to minimize number of stones on a grid.


现在要你做的是证明对于给定的m,n(m<=n),则剩余的最少石头数a为


若m=1                  =>  a= (m+1)/2 的整数部分


若m或n为3的倍数 => a=2


其他情况              =>  a=1


(是URAL上的题,把问题改了,成为数学题)


[此贴子已经被作者于2005-3-13 16:27:45编辑过]



网上贸易 创造奇迹! 阿里巴巴 Alibaba

Powered By Dvbbs Version 7.1.0
Copyright ©2003 - 2006 QTHome.Org
页面执行时间 00.09375 秒, 3 次数据查询
本论坛采用阿里巴巴支付宝网上银行支付系统,安全、可靠、便捷