文件名称:n!
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:159.64kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
给定一个正整数n,计算n!的尾部0的个数。
输入:输入数据有若干行。每行上有一个正整数n,对应一种情形。
输出:对于每一种情形,先输出“Case #: ”(#为序号,从1起),然后输出n的值,逗号,结果,换行。-Given a positive integer n, compute the number n! tail 0. Input: Input data have a number of lines. Each line has a positive integer n, corresponding to a situation. Output: For each case, the first output " Case#:" (# is the serial number, starting from 1), and then output the value of n, a comma, the result, change the line.
输入:输入数据有若干行。每行上有一个正整数n,对应一种情形。
输出:对于每一种情形,先输出“Case #: ”(#为序号,从1起),然后输出n的值,逗号,结果,换行。-Given a positive integer n, compute the number n! tail 0. Input: Input data have a number of lines. Each line has a positive integer n, corresponding to a situation. Output: For each case, the first output " Case#:" (# is the serial number, starting from 1), and then output the value of n, a comma, the result, change the line.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
97_阶乘尾部0的个数/
97_阶乘尾部0的个数/97.cpp
97_阶乘尾部0的个数/97.msp
97_阶乘尾部0的个数/Debug/
97_阶乘尾部0的个数/Debug/97.exe
97_阶乘尾部0的个数/Debug/97.o
97_阶乘尾部0的个数/97.cpp
97_阶乘尾部0的个数/97.msp
97_阶乘尾部0的个数/Debug/
97_阶乘尾部0的个数/Debug/97.exe
97_阶乘尾部0的个数/Debug/97.o
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.