|
||||||||||
CureTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 9917 Accepted Submission(s): 1949 Problem Description Given an integer $n$, we only want to know the sum of $1/k^2$ where $k$ from $1$ to $n$. Input There are multiple cases. For each test case, there is a single line, containing a single positive integer $n$. The input file is at most 1M. Output The required sum, rounded to the fifth digits after the decimal point. Sample Input
Sample Output
Source | ||||||||||
|