一、原题:
链接:http://poj.org/problem?id=1517
u Calculate e
Time Limit: 1000MS | Memory Limit: 10000K | |||
Total Submissions: 12583 | Accepted: 7674 | Special Judge |
Description
A simple mathematical formula for e is
e=Σ0<=i<=n1/i!
where n is allowed to go to infinity. This can actually yield very accurate approximations of e using relatively small values of n.
e=Σ0<=i<=n1/i!
where n is allowed to go to infinity. This can actually yield very accurate approximations of e using relatively small values of n.
二、Source Code
Source Code
Problem: 1517 | User: mervyn_diane | |
Memory: 208K | Time: 0MS | |
Language: C++ | Result: Accepted |