码迷,mamicode.com
首页 >  
搜索关键字:poj1401    ( 7个结果
poj1401--Factorial--阶乘末尾0的个数
Description 求出n!的末尾有多少个0(连续的)。 每组测试点有t个测试数据,输入格式为第一行一个t,后面2~t+1行每行一个n,输出其结果。 Sample Input Sample Output 题解: 求一个数阶乘的末尾0的个数。 10=2*5,显然2的个数总比5多, 即转化为,求阶乘 ...
分类:其他好文   时间:2017-09-03 16:04:11    阅读次数:154
ACM-简单的主题Factorial——poj1401
明出处:http://blog.csdn.net/lttreeFactorialTime Limit:1500MSMemory Limit:65536KTotal Submissions:13993Accepted:8678DescriptionThe most important part of ...
分类:其他好文   时间:2015-07-16 13:50:43    阅读次数:120
poj1401 Factorial
DescriptionThe most important part of a GSM network is so called Base Transceiver Station (BTS). These transceivers form the areas called cells (this ...
分类:其他好文   时间:2015-05-19 16:17:59    阅读次数:160
POJ1401 Factorial
还是水题,算出N!结尾0的个数,算出约数5,25,125.。。的个数和即可FactorialTime Limit: 1500MSMemory Limit: 65536KTotal Submissions: 14736Accepted: 9120DescriptionThe most importan...
分类:其他好文   时间:2015-03-07 21:19:47    阅读次数:129
ACM-简单题之Factorial——poj1401
转载请注明出处:http://blog.csdn.net/lttreeFactorialTime Limit:1500MSMemory Limit:65536KTotal Submissions:13993Accepted:8678DescriptionThe most important part...
分类:其他好文   时间:2014-09-07 13:30:05    阅读次数:221
POJ1401-Factorial
DescriptionThe most important part of a GSM network is so called Base Transceiver Station (BTS). These transceivers form the areas called cells (this ...
分类:其他好文   时间:2014-08-22 14:13:58    阅读次数:278
ACM-简单题之Factorial——poj1401
ACM 简单题 Factorial poj1401...
分类:其他好文   时间:2014-05-22 12:34:07    阅读次数:165
7条  
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!