Sum 7
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Calculate the sum of the first n terms of the sequence depicted in the image:
Input
A natural number n, where 1 ≤ n ≤ 100.
Output
A single number representing the sum of the first n terms of the sequence, rounded to three decimal places.
Examples
Input #1
Answer #1
Submissions 569
Acceptance rate 63%