-->
当前位置:首页 > 题库

PROGRAMMING:Finding the cumulative sum of factorials

Luz5年前 (2021-05-10)题库448
Solve the factorial summation. To calculate the cumulative sum of the factorial of each integer from 1 to a (including 1 and a), it is required to output a complete formula.
###Input format:
Enter an integer $$n (1 / Le n / Le 12) $.
###Output format:
The cumulative sum of the factorial of 1 to the factorial of n. Output formula is required (see output sample requirements).
###Input example:
Here is a set of inputs. For example:
```in
five
```
###Output example:
The corresponding output is given here. For example:
```out
one hundred and fifty-three
```







answer:If there is no answer, please comment