3151: 阶乘和
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:1
Solved:1
Description
求 S=1!+2!+3!+....+n!
Input
输入正整数n。(1≤n≤10)
Output
输出S。
Sample Input Copy
3
Sample Output Copy
9