我爱占星网 我爱占星网
首页
编程
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/xieshimao/article/details/6917827

http://blog.csdn.net/xuh723/article/details/22107547

近期文章

  • Design T-Shirt
  • Kindergarten Election
  • Gu Jian Qi Tan
  • Hiiragi's Sticks
  • linux里怎么指定部分txt文件追加到指定文件?谢谢!
  • 请问zmq或者nanomsg如何服务器返回多条数据
  • MFC OpenGL 多线程绘图问题
  • python中def Func(obj): print obj.show()这句什么意思
  • MFC连接数据库创建注册登陆窗口
  • 创建sqlserver群集,到最后一步出现问题。磁盘使用的V3500磁盘阵列。
  • unity 3d/game窗口/scene窗口/模糊
  • 请问java中this指的是什么?(含具体代码)
  • android4.3上的蓝牙4.0
  • Mix and Build
  • ubuntu17.04 密码正确登陆不成功
  • Cake Robbery
  • 有没有类似印象笔记的可以在图片上编辑文字,对文字进行拖动等效果的android开源项目
  • 通过post请求根据id进行信息的修改,Ajax中如何通过复选框获取页面上的Id?
  • Db2大数据量的表查询优化
  • mysql先排序再分组再排序

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

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

友情链接:代码精华