参考: 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
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
改变了下规则,现在变成了最后拿的人输。 如果对于单纯的nim的话,只需要判断每堆都是1个石子的特殊情况。 因为如果存在有大于1个石子的堆话,类似于nim的取法,处于必胜状态的一方只需要在 对方取完后只剩下一堆>1石子的堆中,选择留下奇数个大小为1的堆或偶数个大小为1的堆。 ...
分类:
其他好文 时间:
2016-08-12 16:45:07
阅读次数:
200
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
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