I can't solve this problem: http://www.spoj.com/HSPL09/problems/HS09NLG/
Can the problem somehow be reduced to NIM game?
[Game Theory Problem] How to solve SPOJ HS09NLG?
I can't solve this problem: http://www.spoj.com/HSPL09/problems/HS09NLG/
Can the problem somehow be reduced to NIM game?