作业帮 > 英语 > 作业

一到英文逻辑题two players play a game.we have coins whose value is

来源:学生作业帮 编辑:作业帮 分类:英语作业 时间:2024/05/14 04:10:57
一到英文逻辑题
two players play a game.we have coins whose value is 1,5,10,25,50,100.And the two players take turns to put one coin into a pot.The one who reach value 678 will be the winner (it is not allowed to exceed this value).who will win?
两个玩家玩一种游戏.我们有面值为1,5,10,25,50,100的硬币.并且两个玩家依次轮流将一枚硬币投入一个罐子里.谁先投到678的总值谁就是赢家(不许超过678).谁将赢?
答:the second one
第二个投的有机会赢,也可能都赢不了(超过规定总值了)
只用看个位数就够了,只要能将个位数投到8的人就是胜利者
5+1+1+1=8
1+5+1+1=8
1+1+5+1=8
1+1+1+5=8
1+1+1+1+1+1+1+1=8
等等
所以是偶数号的玩家(也就是后投的玩家)有机会赢(只是时间问题而已),儿奇数号玩家(也就是先投的玩家)一定赢不了