~/algor $ cat problems/for/computing-the-number-e
Computing the number e
Medium
1000 ms
64 MB
46%
A positive integer is given. Approximate the mathematical constant with the sum:
Input
One positive integer .
Output
One number — , with exactly 6 digits after the decimal point (for example, 2.000000).
Note
Examples
Input #1
1
Output #1
2.000000
Input #2
3
Output #2
2.666667