#E. 求阶乘的和【蓝桥杯】

    Type: Default 1000ms 256MiB

求阶乘的和【蓝桥杯】

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.

题目描述

求S=1!+2!+3!+....+n!。

输入格式

输入正整数n。

输出格式

输出S。

样例

3
9

提示

对于所有数据:1≤n≤20。

蓝桥杯简单题综合训练

Not Attended
Status
Done
Rule
OI
Problem
8
Start at
2025-1-24 8:00
End at
2025-2-1 16:00
Duration
200 hour(s)
Host
Partic.
23