分页: 1 / 1

做题了做题了!简单的,但我想要大家的牛逼算法。

发表于 : 2022年 7月 25日 22:05
none
What is the least number of consecutive positive integers starting with 1 that must be multiplied together to get a multiple of 20^21?

Re: 做题了做题了!简单的,但我想要大家的牛逼算法。

发表于 : 2022年 7月 25日 22:15
none
大家想想。。。

Re: 做题了做题了!简单的,但我想要大家的牛逼算法。

发表于 : 2022年 7月 25日 22:18
verdelite
none 写了: 2022年 7月 25日 22:05 What is the least number of consecutive positive integers starting with 1 that must be multiplied together to get a multiple of 20^21?
只需要关心5;有21个5就行了。那就数吧,5,10,15,20,25(两个),30,35,40,45,50(两个),55,60,65,70,75(两个),80,85,90,95,100(两个)

90个就行了。