组合数学,取子游戏,nim简单
组合数学编程题取子游戏(简单)Twoplayersalternateinremovingeitheroneortwofromthepile.Theplayerwhoremovethelaststickistheloser.Theopponentremovesticksatthefirst,thenit'syourturn.Writeaprogramtodeterminehowmanysticksshouldberemovedwhenthere'snsticksleftinthepile.
下载地址
用户评论
稍微简单了点,不过还是挺有帮助的
程序是正确的 不过好简单
程序正确,秒过