3557: 求出e的值
Memory Limit:256 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:17
Solved:4
Description
[md]
利用公式$e=1+1/{1!}+1/{2!}+1/{3!}+ ... +1/{n!}$ ,求e的值,要求保留小数点后10位。
[/md]
Sample Input Copy
10
Sample Output Copy
2.7182818011