Trailing Zeroes (III)PDF (English)StatisticsForumTime Limit:2 second(s)Memory Limit:32 MBYou task is to find minimal natural numberN, so thatN!contain...
分类:
其他好文 时间:
2015-08-21 09:25:23
阅读次数:
193
Problem 34145 is a curious number, as 1! + 4! + 5! = 1 + 24 + 120 = 145.Find the sum of all numbers which are equal to the sum of the factorial of the...
分类:
其他好文 时间:
2015-08-21 09:23:31
阅读次数:
130
1138 - Trailing Zeroes (III)
PDF (English)
Statistics
Forum
Time Limit: 2 second(s)
Memory Limit: 32 MB
You task is to find minimal natural number N, so that ...
分类:
其他好文 时间:
2015-08-20 22:39:33
阅读次数:
394
1138 - Trailing Zeroes (III)
PDF (English)
Statistics
Forum
Time Limit: 2 second(s)
Memory Limit: 32 MB
You task is to find minimal natural number N, so tha...
分类:
其他好文 时间:
2015-08-20 22:39:23
阅读次数:
232
1138 - Trailing Zeroes (III)
PDF (English)
Statistics
Forum
Time Limit: 2 second(s)
Memory Limit: 32 MB
You task is to find minimal natural number N, so that ...
分类:
其他好文 时间:
2015-08-20 21:00:56
阅读次数:
223
题目链接:http://acm.hust.edu.cn/vjudge/problem/visitOriginUrl.action?id=26992DescriptionYou are given two integers:nandk, your task is to find the most si...
分类:
其他好文 时间:
2015-08-20 01:15:52
阅读次数:
193
求n^k的前三位数字和后三位数字。范围:n (2 ≤ n lg(n^k)=lg(x) ---> klg(n)=lg(x) ---> x=10^(klgn). 因为求前三位,klgn大于2的整数部分可以舍弃。bit=floor(klgn-2), x=10^(klgn-bit)。后三...
分类:
其他好文 时间:
2015-08-19 16:08:08
阅读次数:
131
11029 - Leading and Trailing
Time limit: 3.000 seconds
Apart from the novice programmers, all others know that you can’t exactly represent numbers raised
to some high power. For example, the C fu...
分类:
其他好文 时间:
2015-08-18 16:32:15
阅读次数:
204
Given an integern, return the number of trailing zeroes inn!.Note:Your solution should be in logarithmic time complexity.Solution :计算包含的2和5组成的pair的个数,...
分类:
其他好文 时间:
2015-08-05 20:01:38
阅读次数:
108
6–6. 字符串.创建一个 string.strip()的替代函数:接受一个字符串,去掉它前面和后面的 空格(如果使用 string.*strip()函数那本练习就没有意义了) 1 'Take a string and remove all leading and trailing whitespa...
分类:
编程语言 时间:
2015-08-03 18:53:31
阅读次数:
203