結果
問題 |
No.454 逆2乗和
|
ユーザー |
|
提出日時 | 2023-07-08 13:21:36 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 50 ms / 2,000 ms |
コード長 | 120 bytes |
コンパイル時間 | 147 ms |
コンパイル使用メモリ | 82,220 KB |
実行使用メモリ | 73,940 KB |
最終ジャッジ日時 | 2024-07-22 08:50:52 |
合計ジャッジ時間 | 2,922 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 31 |
ソースコード
x = float(input()) ans = 0 for i in range(1, 10**6 + 1): ans += 1 / (i + x) / (i + x) ans += 1 / (i + x) print(ans)