Giai Thừa - FACTORIAL

PDF

Submit solution

Points: 10.00
Time limit: 1.0s
Memory limit: 64M
Input: stdin
Output: stdout

Authors:
Problem types
Allowed languages
C, C++, Java, Pascal, Python, Scratch, TEXT

Cho biết ~n!=1*2*3*…*n~.
Trong đó ~0!=1~.

Yêu cầu

Nhập vào số nguyên ~n~, xuất ra ~n!~

Dữ liệu

Một dòng duy nhất, gồm số nguyên ~n~ ~(0\le n \le 19)~.

Kết quả

Ghi ra kết quả của ~n!~

Input

4

Output

24

Comments

Please read the guidelines before commenting.


There are no comments at the moment.