#1969. 考试十九 求阶乘和
考试十九 求阶乘和
Cannot parse: Cannot read properties of null (reading 'length')
考试十九 求阶乘和
题目描述
求1!,2!,3!,4!,5!,6!的和,要求分别显示结果,最后输出阶乘的和!
输入说明
无
输出说明
输出6行表示对应的阶乘。
1!+2!+3!+...+N!的和,另占一行。
样例
输入
no input needed
输出
1
2
6
24
120
720
Sn=873
Cannot parse: Cannot read properties of null (reading 'length')
求1!,2!,3!,4!,5!,6!的和,要求分别显示结果,最后输出阶乘的和!
无
输出6行表示对应的阶乘。
1!+2!+3!+...+N!的和,另占一行。
no input needed
1
2
6
24
120
720
Sn=873