Find the sum of digits in n!
摘要:
Find the sum of digits in n!Time Limit:2000MSMemory Limit:65535KBSubmissions:192Accepted:41Descriptionn! meansn*(n1) *... *3 *2 *1Find the sum of the digits in the number n!Inputone line: n (1<n<=10000)Outputthe sum of the digits in the number n!Sample Input10Sample Output27Hint10! =36288003+6 阅读全文
posted @ 2012-05-22 19:20 即为将军 阅读(342) 评论(0) 推荐(0)
浙公网安备 33010602011771号