hdu1042

maksyuki 发表于 oj 分类,标签:
0

N!

Problem Description

Given an integer N(0 ≤ N ≤ 10000), your task is to calculate N!

Input

One N in one line, process to the end of file.

Output

For each N, output N! in one line.

Sample Input

1

2

3

Sample Output

1

2

6

Author

JGShining(极光炫影)

 

题目类型:高精度阶乘

算法分析:直接使用数组模拟即可