A Game of Consecutive Piles- Editorial

**Problem Link : **
[Contest][1]
[Practice][2]

**Difficulty : ** Medium

**Pre-requisites : ** Game Theory

**Solution : **
The solution can be found at this Google Doc.
[Solution][3]

**Setter’s code : **


[4]

  [1]: http://www.codechef.com/WPC1401/problems/IITK1P06
  [2]: http://www.codechef.com/problems/IITK1P06
  [3]: https://drive.google.com/file/d/0BxD24wnAfwNFQ05PcnZ6dnJYb3RMVTBLQl82OFh5ZUZtZkZB/view?usp=sharing
  [4]: http://www.codechef.com/viewsolution/5215626