在乘积1X2X3X4X…X698X699X700中,末尾共有( )个零。A. 172 B. 180 C. 171 D. 174

作者: rantiku 人气: - 评论: 0
问题 在乘积1X2X3X4X…X698X699X700中,末尾共有( )个零。 A. 172 B. 180 C. 171 D. 174
选项
答案 D
解析 0是5与偶数相乘得到的,在1到700中,偶数的个数明显多于5的个数, 因此0的个数取决于5的个数,有多少个5,就有多少个0。700中含有因数5的数字共有 700÷5 = 140(个?),这些数字中还包含有多个因数5的数字,故需要进一步计算。25含有2个 5,125 含有 3 个 5,625 含有 4 个 5。700 ÷ 25 = 28 (个),700÷ 125 = 5...75,700÷625 = 1...75,故1至700中共有140 + 28 + 5 +1 = 174(个)因数5,则末尾共有174个0。

猜你喜欢

发表评论
更多 网友评论0 条评论)
暂无评论
错误啦!

错误信息

  • 消息: [程序异常] : MISCONF Redis is configured to save RDB snapshots, but it's currently unable to persist to disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
  • 文件: /twcms/kongphp/cache/cache_redis.class.php
  • 位置: 第 85 行
    <?php echo 'KongPHP, Road to Jane.'; ?>