結果

問題 No.454 逆2乗和
ユーザー hir355hir355
提出日時 2021-01-22 23:32:04
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 82 ms / 2,000 ms
コード長 103 bytes
コンパイル時間 425 ms
コンパイル使用メモリ 87,500 KB
実行使用メモリ 77,036 KB
最終ジャッジ日時 2023-08-27 22:59:33
合計ジャッジ時間 4,816 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 80 ms
76,820 KB
testcase_01 AC 81 ms
76,820 KB
testcase_02 AC 82 ms
76,768 KB
testcase_03 AC 80 ms
77,004 KB
testcase_04 AC 81 ms
77,028 KB
testcase_05 AC 78 ms
76,772 KB
testcase_06 AC 79 ms
77,036 KB
testcase_07 AC 79 ms
76,556 KB
testcase_08 AC 79 ms
76,712 KB
testcase_09 AC 80 ms
76,696 KB
testcase_10 AC 81 ms
76,560 KB
testcase_11 AC 81 ms
76,816 KB
testcase_12 AC 79 ms
76,864 KB
testcase_13 AC 80 ms
76,788 KB
testcase_14 AC 82 ms
76,904 KB
testcase_15 AC 80 ms
76,840 KB
testcase_16 AC 82 ms
76,752 KB
testcase_17 AC 81 ms
76,816 KB
testcase_18 AC 81 ms
76,692 KB
testcase_19 AC 81 ms
76,820 KB
testcase_20 AC 81 ms
76,752 KB
testcase_21 AC 80 ms
76,772 KB
testcase_22 AC 80 ms
76,816 KB
testcase_23 AC 80 ms
76,952 KB
testcase_24 AC 79 ms
76,716 KB
testcase_25 AC 79 ms
76,936 KB
testcase_26 AC 80 ms
76,908 KB
testcase_27 AC 79 ms
76,756 KB
testcase_28 AC 79 ms
76,920 KB
testcase_29 AC 79 ms
76,932 KB
testcase_30 AC 81 ms
76,804 KB
testcase_31 AC 80 ms
76,840 KB
testcase_32 AC 79 ms
77,020 KB
testcase_33 AC 80 ms
76,836 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

x = float(input())
ans = 0
for i in range(1, 1000000):
    ans += 1 / (i + x) ** 2
print(ans + 10 **-6)
0