Toggle navigation
HUSTOJ
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
Recent
Login
Problem2137--Calculation factorial
2137: Calculation factorial
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
77
Solved:
31
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
Use the function to find the factorial of n(don't use recursion)
Input
Given a positive integer
Output
a positive integer representing the factorial result
Sample Input
Copy
2
Sample Output
Copy
2
Source/Category
184