Title: 1 Download
  • Category:
  • Windows Develop
  • Platform:
  • Visual C++
  • File Size:
  • 9KB
  • Update:
  • 2009-06-25
  • Downloads:
  • 23
  • Uploaded by:
  • shunier
 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 (Click to check if it's the file you need, and recomment it at the bottom):
闃朵箻
....\瑙i

DSSZ www.dssz.org