#Brave

HDU 1864 Brave Game 【组合游戏,SG函数】

简单取石子游戏,SG函数的简单应用。有时间将Nim和、SG函数总结一下……暂且搁置。 #include<cstdio>#include<cstring>#defineN1002intn,T,m,sg[N];boolvis[N];intmain(){scanf...
代码星球 ·2020-10-21

hdu 1846 Brave Game (巴什博弈)

TimeLimit:1000/1000MS(Java/Others)    MemoryLimit:32768/32768K(Java/Others)TotalSubmission(s):15279    AcceptedSubmissio...
代码星球 ·2020-06-08