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

对应老买买提的军事天地,观点交锋比较激烈,反驳不留情面,请作好心理准备。因为此版帖子太多,所以新帖不出现在首页新帖列表,防止首页新帖刷屏太快。


版主: Softfist

回复
头像
none楼主
论坛元老
论坛元老
2024年度十大优秀网友
帖子互动: 768
帖子: 24287
注册时间: 2022年 7月 22日 13:46

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

帖子 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?
头像
none楼主
论坛元老
论坛元老
2024年度十大优秀网友
帖子互动: 768
帖子: 24287
注册时间: 2022年 7月 22日 13:46

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

帖子 none楼主 »

大家想想。。。
头像
verdelite(众傻之傻)
论坛元老
论坛元老
帖子互动: 1058
帖子: 24425
注册时间: 2022年 7月 21日 23:33

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

帖子 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个就行了。
回复

回到 “军事天地(Military)”