No.1272 An Unusual Series
問題文最終更新日: 2021-05-08 01:04:25
English (AI translation)
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence.
Back to the original
Problem Statement
Find $\displaystyle \sum_{n=1}^{\infty} \frac{\sin{(kn)}}{n^n}$.
It is guaranteed that this series converges within the specified range.
Input
$k$
Output
Print a newline at the end. Your answer must have an absolute error or a relative error (at least one of them) of at most $10^{-6}$.
[Added at 21:26] Print the value of this infinite series.Sample
Sample 1
Input
0
Output
0
Sample 2
Input
1
Output
1.0707537618528777
Sample 3
Input
100000000
Output
0.7498732136061026
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。
logx