Dear all,
I still have no idea on how to solve this problem after thinking over it for some time. Could anyone give me some hint on it?
Thx.
10165 - Stone Game
Moderator: Board moderators
-
- A great helper
- Posts: 284
- Joined: Thu Feb 28, 2002 2:00 am
- Location: Germany
- Contact:
It's the "Nim" game and you should easily find information in google when you search for "nim" and "xor", for example here:
http://web.usna.navy.mil/~wdj/nim.htm
http://web.usna.navy.mil/~wdj/nim.htm
10165 - Stone Game
Hi,
Can someone explain the solution to this problem ?
it looks similar to the NIM-game.
Thank you.
Can someone explain the solution to this problem ?
it looks similar to the NIM-game.
Thank you.
-
- New poster
- Posts: 17
- Joined: Fri May 24, 2002 4:24 am
- Location: Taiwan
- Contact:
Re: 10165 - Stone Game
Convert all numbers into binary sequences and list them all one in a row.konsept wrote:Hi,
Can someone explain the solution to this problem ?
it looks similar to the NIM-game.
Thank you.
Then you may think what the best strategy is for playing the game.
If this is still obscure, consider the special case when there are only two
piles of stones. Try to generalize your solution for this special case.
Good luck~
