Problem [Link](https://www.codechef.com/problems/ARRGM).↵
↵
I've seen the public solutions but I am unable to understand them.↵
↵
This is a game theory problem with Grundy Numbers but I am unable to break this game into smaller independent games in order to apply the Grundy theorem.↵
↵
Can somebody please provide the solution with explanation ?
↵
I've seen the public solutions but I am unable to understand them.↵
↵
This is a game theory problem with Grundy Numbers but I am unable to break this game into smaller independent games in order to apply the Grundy theorem.↵
↵
Can somebody please provide the solution with explanation ?