Calculate the factorial of a number.
EasyProblem Statement
Calculate the factorial of a number.
Sample Input
num = 5
Sample Output
Factorial = 120
Limits
Time: 2s · Memory: 256 MB
Calculate the factorial of a number.
num = 5
Factorial = 120
Time: 2s · Memory: 256 MB