Responsive image

Problem 1344 --阶乘的累加和

1344: 阶乘的累加和

Time Limit: 1 Sec  Memory Limit: 30 MB
Submit: 635  Solved: 564
[Submit][Status][Web Board][Creator:]

Description

 求1! + 2! + ……n! 

Input

 输入一个整数n,你可以假定n不大于10。 

Output

 输出一个整数,即阶乘累加的结果,单独占一行。 

Sample Input

4

Sample Output

33

HINT

... 

Source

 

[Submit][Status]
ACM算法攻关部
  • Anything about this OnlineJudge, Please Contact Administrator. Click add QQ

    OJ system based on HUSTOJ Project , UI based on Twitter Bootstrap

    Copyright 2016 ACM算法攻关部
    关于网站改版