注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
// The 2-player game of Drawdown is played with a board made up of N groups of stones. . From 1point 3acres bbs// At the start of each game a board and a list of moves are provided. Each move is a list of N integers, which represent the number of stones the move adds/remove
// Player 1 has to perform move 3. New board: [2, 0, 2, 2]
// Player 2 has to perform move 3. New board: [2, 0, 0, 0]
// The game is now over and player 1 is the winner.
求两个玩家各有多少种走法可以赢
|