Factorial
Time limit1sMemory limit256 MB
Print the factorial of a given integer N, where N is between 0 and 12.
- Level
Easy1 of 10
- Topics
- Math, Implementation
- Solved
- No attempts yet
Problem
An integer greater than or equal to 0 is given. Write a program that prints .
is the product of every integer from 1 to , and .
Input
The first line contains an integer ().
Output
Print on the first line.