Toggle navigation
HUSTOJ
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
Login
Language
中文
ئۇيغۇرچە
English
فارسی
ไทย
한국어
Problem1159--【C++语言训练】求1+2!+3!+...+N!的和
1159: 【C++语言训练】求1+2!+3!+...+N!的和
[Creator :
]
Time Limit :
1.000
sec
Memory Limit :
128 MB
Submit
Solved: 2
Submit Num: 2
Statistics
Description
求1+2!+3!+...+N!的和
Input
正整数N(N〈=20)
Output
1+2!+3!+...+N!的和 (结果为整数形式)
Sample Input
Copy
3
Sample Output
Copy
9
Source/Category
黄金