all of the houses on my street decided to purchase new numbers for their address from the same store to post on their front doot.Assume that the addresses start with pecan st,2 pecan st,3 pecan st and do not skip any inteers.also,assume that the houses visit the hardware storein increasing order.if billiy bobb's hardwad only has 100 of each digit available,which house will be the first not to be able to purchase all of its necessart digits?第一个回答的财富值50
问题描述:
all of the houses on my street decided to purchase new numbers for their address from the same store to post on their front doot.Assume that the addresses start with pecan st,2 pecan st,3 pecan st and do not skip any inteers.also,assume that the houses visit the hardware storein increasing order.if billiy bobb's hardwad only has 100 of each digit available,which house will be the first not to be able to purchase all of its necessart digits?
第一个回答的财富值50分
答
因为每个数字都只有100个,所以最快用完的肯定是数字1.所以只需要算第100个数字1用在什么地方就可以了.
99运用“1”20次
100~159运用“1”76次
还剩下4个“1”只用制作门号160、161、162
所以第一个无法完成的门号是163