搜索资源列表
花生米问题
- 1、Tom和Jerry轮流从堆中取出k粒花生米吃掉,k可以是1,5,10中的任意一个数字; 2、为显示规则的公平性,Jerry可以选择先取或者后取。 Jerry当然还是希望最后一粒花生米被Tom吃掉。请计算,Jerry为了达到目的应该先取还是后取(1. Tom and Jerry took out the k peanuts and ate them from the heap. K could be any number in 1, 5, and 10. 2. To show the