結果

問題 No.454 逆2乗和
ユーザー 👑 rin204rin204
提出日時 2022-11-08 17:40:01
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 185 bytes
コンパイル時間 719 ms
コンパイル使用メモリ 82,960 KB
実行使用メモリ 85,072 KB
最終ジャッジ日時 2024-07-22 01:51:53
合計ジャッジ時間 55,687 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 23 TLE * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import pi
from decimal import Decimal

x = Decimal(float(input()))
ans = 0
for i in range(1, 10 ** 5 + 1):
    ans += Decimal(1) / (Decimal(i + x) * Decimal(i + x))
print(ans)
0