我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

Little Keng

Calculate how many 0s at the end of the value below:
1n + 2n + 3n + ... + mn

Input

There are multiple cases. For each cases, the input containing two integers m, n. (1 <= m <= 100 , 1 <= n <= 1000000)

Output

One line containing one integer indicatint the number of 0s.

Sample Input

4 3

Sample Output

2

http://blog.csdn.net/u014362024/article/details/22113861

近期文章

  • Big Keng
  • greenplum sum 效率慢
  • 使用ajax提交表单,回调函数执行error方法
  • 请教各位大神一个问题,html5调用摄像头后可以关闭摄像头吗?如果可以 ?用js怎么控制?
  • javascript大神,如下,要改的效果是页面登陆后直接到巡检信息,而不是我的主页,小修改下脚本
  • 串口通信,如何解决拔插串口的问题
  • nodejs express框架 简单使用问题
  • Hypercube
  • Draw a Mess
  • Mahout中喜好度一般是根据哪些因素来综合起来的呢
  • 错误出在new intent那里 求教如何修改
  • nodejs express简单框架问题
  • CCF第四届试题 数字排序问题
  • java 知识相关的问题,,,,,,,,,
  • Python ctypes 中回调函数设置
  • Attack on Titans
  • Diagonal
  • 奇怪的tomcat问题,估计是涉及到它的加载过程,求高人指点
  • @MappedSuperclass的用法?
  • 异步提交表单,springmvc bindingresult返回后台验证之后的表单页面

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华