2. Factorial
- Points
- 25
- Type
- ConsoleIO
Read a number
n (0 ≤ n ≤ 20). Print n! (0! = 1).Examples
| Input | Output |
|---|---|
0 |
1
|
5 |
120
|
10 |
hidden |
Your code is saved locally until you submit a solution.