Skip to content

2. Factorial

Points
25
Type
ConsoleIO
Read a number n (0 ≤ n ≤ 20). Print n! (0! = 1).

Examples

InputOutput
0 1
5 120
10 hidden

Your code is saved locally until you submit a solution.

C#

Sign in to submit solutions and earn points.