How to model this problem as a Nim problem?

Revision en1, by arun_prasad, 2016-07-21 12:08:17

Im trying to solve this problem on hackerrank. I am unable to understand the editorial. If someone could explain the editorial part with proof it would be of great help. Click for problem

Tags gametheory, hackerrank, help needed

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English arun_prasad 2016-07-21 12:08:17 313 Initial revision (published)