求阶乘的和
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.
Description
给定正整数n,求不大于n的正整数的阶乘的和(即求1!+2!+3!+...+n!),输出阶乘的和。
Input Format
输入有一行,包含一个正整数n(1 < n < 12)。
Output Format
输出有一行:阶乘的和。
5
153
2025-11-1周训练
- Status
- Done
- Rule
- XCPC
- Problem
- 9
- Start at
- 2025-11-1 13:45
- End at
- 2025-11-1 16:45
- Duration
- 3 hour(s)
- Host
- Partic.
- 50