×

# How to solve Game theory question ?

 0 Hello, I have been trying to solve this problem https://www.codechef.com/problems/GTH , but I am unable to solve this. Can anyone please tell, how to solve this problem ? asked 18 Apr '16, 10:45 4★ps06756 18●1●2 accept rate: 9%

 1 This game is equivalent to the game of nim. You have N (= 26 here, corresponding to each alphabet) piles with a certain number of stones each. (here the number of occurrences of the alphabet corresponding to that pile) The solution to this game is dependent on the XOR of all the stone amounts, which is called the "nimsum" of a "position". You can find more here. answered 18 Apr '16, 12:04 757●2●11 accept rate: 16%
 toggle preview community wiki:
Preview

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• image?![alt text](/path/img.jpg "title")
• numbered list: 1. Foo 2. Bar
• to add a line break simply add two spaces to where you would like the new line to be.
• basic HTML tags are also supported
• mathemetical formulas in Latex between \$ symbol

Question tags:

×643
×317
×303
×140

question asked: 18 Apr '16, 10:45

question was seen: 1,990 times

last updated: 18 Apr '16, 12:04