问题1357--N!

1357: N!

时间限制: 2 Sec  内存限制: 128 MB
提交: 460  解决: 116
[状态] [讨论版] [提交] [命题人:]
题目描述

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

输入

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

输出

For each N, output N! in one line.

样例输入 Copy
1
2
3
样例输出 Copy
1
2
6
来源/分类