結果

問題 No.1271 初めての級数
ユーザー 👑 H20H20
提出日時 2020-11-04 09:42:09
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 152 ms / 2,000 ms
コード長 86 bytes
コンパイル時間 308 ms
コンパイル使用メモリ 87,136 KB
実行使用メモリ 76,756 KB
最終ジャッジ日時 2023-09-29 15:40:32
合計ジャッジ時間 2,824 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 139 ms
76,336 KB
testcase_01 AC 137 ms
76,756 KB
testcase_02 AC 148 ms
76,544 KB
testcase_03 AC 152 ms
76,396 KB
testcase_04 AC 140 ms
76,232 KB
testcase_05 AC 140 ms
76,212 KB
testcase_06 AC 139 ms
76,196 KB
testcase_07 AC 141 ms
76,380 KB
testcase_08 AC 138 ms
76,464 KB
testcase_09 AC 134 ms
76,316 KB
testcase_10 AC 138 ms
76,380 KB
testcase_11 AC 137 ms
76,396 KB
testcase_12 AC 135 ms
76,396 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

K = int(input())
ans = 0
for i in range(1,10000000):
    ans += 1/(i*(i+K))
print(ans)
0