数论练习2:K - Georgia and Bob(POJ 1704) SG函数运用:尼姆博奕(Nimm Game)
DescriptionGeorgiaandBobdecidetoplayaself-inventedgame.Theydrawarowofgridsonpaper,numberthegridsfromlefttorightby1,2,3,...,andplaceNchessmenondifferentgrids,asshowninthefollowingfigureforexample: Geor