Find Factorial

3.5

2 votes
Easy
Problem

Given an integer N, You have to calculate the factorial of that number.

Constraint:

  • 1<= N <= 200

NOTE: Factorial of 100 has 158 digits. It is not possible to store these many digits even if we use long long int.

Input:

First line contain an integer N.

Output:

Print the factorial of N.

Time Limit: 1
Memory Limit: 256
Source Limit:
Editor Image

?