Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop
Title: 1 Download
 Description: An arbitrary string (letters and numbers), in which the interpolation I, entitled: factorial source of fact.??? (Pas, c, cpp) file name of the executable file name fact.exe input file name fact.in output fact . out of the definition of factorial as follows: N! = 1* 2* 3* ...* N-1* N For example, 12! = 1* 2* 3* 4* 5* 6* 7* 8* 9* 10* 11* 12 = 479001600 the right of non-0 is 6, followed by 2 0. Write a program computing N! The most right at the end of non-0 and the number of 0. Input an integer N, 1 < = N < = 1,000,000 Output Output his two integers: the right of non-0, at the end of the number 0. Sample fact.in 12 fact.out 6 2
 Downloaders recently: [More information of uploader shunier]
 To Search: n factorial
File list (Check if you may need any files):
阶乘
....\解题报告.doc
    

CodeBus www.codebus.net