An intuitive problem for learning & applying Sprague-Grudy theorem:
https://zhuanlan.zhihu.com/maigo/20611132
Lesson learnt, in Sprague-Grundy theorem:
- For sub-games, use XOR
- For sub-states, use MEX
An intuitive problem for learning & applying Sprague-Grudy theorem:
https://zhuanlan.zhihu.com/maigo/20611132
Lesson learnt, in Sprague-Grundy theorem:
- For sub-games, use XOR
- For sub-states, use MEX