求阶乘的和
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
【题目描述】
给定正整数n,求不大于n的正整数的阶乘的和(即求1!+2!+3!+...+n!),输出阶乘的和。
【输入】
输入有一行,包含一个正整数n(1 < n < 12)。
【输出】
输出有一行:阶乘的和。
【输入样例】
5
【输出样例】
153
【来源】
一本通在线评测
(11.29)周五19-240823【循环阶段测试】
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 7
- Start at
- 2024-11-29 18:45
- End at
- 2024-12-8 2:45
- Duration
- 200 hour(s)
- Host
- Partic.
- 11