码迷,mamicode.com
首页 >  
搜索关键字:hdu1907    ( 6个结果
博弈总结
参考: https://blog.csdn.net/acm_cxlove/article/details/7854530 https://blog.csdn.net/mazicwong/article/details/55190423 题目分类: sg: hdu1847 hdu1536 hdu398 ...
分类:其他好文   时间:2019-05-20 17:11:14    阅读次数:80
HDU1907 Jhon
Little John is playing very funny game with his younger brother. There is one big box filled with M&Ms of different colors. At first John has to eat s ...
分类:其他好文   时间:2019-01-28 21:17:11    阅读次数:131
hdu1907(anti-sg入门)
改变了下规则,现在变成了最后拿的人输。 如果对于单纯的nim的话,只需要判断每堆都是1个石子的特殊情况。 因为如果存在有大于1个石子的堆话,类似于nim的取法,处于必胜状态的一方只需要在 对方取完后只剩下一堆>1石子的堆中,选择留下奇数个大小为1的堆或偶数个大小为1的堆。 ...
分类:其他好文   时间:2016-08-12 16:45:07    阅读次数:200
HDU1907 John
Description Little John is playing very funny game with his younger brother. There is one big box filled with M&Ms of different colors. At first John ...
分类:其他好文   时间:2016-07-10 23:22:51    阅读次数:157
HDU1907(尼姆博弈)
JohnTime Limit: 5000/1000 MS (Java/Others)Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 3762Accepted Submission(s): 2127Problem Descri...
分类:其他好文   时间:2015-10-28 12:06:36    阅读次数:189
ACM-尼姆博弈之John——hdu1907
ACM 尼姆博弈 John hdu1907...
分类:其他好文   时间:2014-05-03 16:21:41    阅读次数:222
6条  
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!