#18085. 考试十九 求阶乘和
考试十九 求阶乘和
说明
求1!,2!,3!,4!,5!,6!的和,要求分别显示结果,最后输出阶乘的和!输入格式
无输出格式
输出6行表示对应的阶乘。
1!+2!+3!+...+N!的和,另占一行。
no input needed1
2
6
24
120
720
Sn=873
输出6行表示对应的阶乘。
1!+2!+3!+...+N!的和,另占一行。
no input needed1
2
6
24
120
720
Sn=873
By signing up a 算道OJ universal account, you can submit code and join discussions in all online judging services provided by us.