Toggle navigation
HNUCM-OJ
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
Login
Language
中文
ئۇيغۇرچە
English
فارسی
ไทย
한국어
Problem1441--N!
1441: N!
[Creator :
]
Time Limit :
5.000
sec
Memory Limit :
262 MB
Submit
Solved: 13
Submit Num: 36
Statistics
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
Copy
1 2 3
Sample Output
Copy
1 2 6
Source/Category
算法分析与设计