摘要:
N! http://acm.hdu.edu.cn/showproblem.php?pid=1042 Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s 阅读全文
摘要:
//求N!的位数//N!=1*2*3**N,两边取常用对数,即可算出log10(N!),向上取整即为N!的位数//hdoj 984MS 344K #include <iostream> #include <cmath> using namespace std; int main() { double 阅读全文