MAIN73 — SPOJ Game Theory Problem

Revision en1, by AakashHanda, 2017-08-21 13:56:35

I have been trying to solve this problem for some time now but have been unable to figure out a way to find the grundy values for rows. I tried writing a bruteforce solution which gives me the grundy values of rows to try to figure out the relation between grundy values and position of stones in a row but have not been able to observe any pattern.

Any hints would be appreciated.

Tags spoj, game-theory

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English AakashHanda 2017-08-26 17:15:24 2 (published)
en1 English AakashHanda 2017-08-21 13:56:35 458 Initial revision (saved to drafts)