結果
問題 |
No.454 逆2乗和
|
ユーザー |
|
提出日時 | 2024-01-23 22:22:47 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 66 ms / 2,000 ms |
コード長 | 125 bytes |
コンパイル時間 | 841 ms |
コンパイル使用メモリ | 82,176 KB |
実行使用メモリ | 73,472 KB |
最終ジャッジ日時 | 2024-09-28 06:52:27 |
合計ジャッジ時間 | 3,824 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 31 |
ソースコード
x = float(input()) ans = 0.0 for i in range(1, 10**6 + 1): ans += 1 / (i + x) / (i + x) ans += 1 / (10**6 + x) print(ans)