acm算法-nim游戏篇(算法设计)AnumberofNim-likegamesinwhichmovesarerestrictedsomehowtooccurfromasinglepileareanalysed.IneachcasethecompletedescriptionoftypePandtypeNpositionsisobtained.AmoredetailedanalysisoftheSprague-GrundyvaluesofpositionsintwoheapNimwherethemovemustbefromthelargerheap