結果

問題 No.1271 初めての級数
ユーザー lllllll88938494lllllll88938494
提出日時 2022-01-14 21:59:31
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 49 ms / 2,000 ms
コード長 97 bytes
コンパイル時間 321 ms
コンパイル使用メモリ 82,388 KB
実行使用メモリ 73,964 KB
最終ジャッジ日時 2024-04-30 14:37:04
合計ジャッジ時間 1,397 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 47 ms
73,516 KB
testcase_01 AC 47 ms
73,536 KB
testcase_02 AC 46 ms
73,512 KB
testcase_03 AC 47 ms
73,276 KB
testcase_04 AC 44 ms
73,892 KB
testcase_05 AC 46 ms
73,276 KB
testcase_06 AC 48 ms
73,964 KB
testcase_07 AC 45 ms
73,680 KB
testcase_08 AC 46 ms
73,452 KB
testcase_09 AC 49 ms
73,684 KB
testcase_10 AC 45 ms
73,516 KB
testcase_11 AC 45 ms
73,360 KB
testcase_12 AC 45 ms
73,644 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

k=int(input())
ans=0
for i in range(1,10**6):
    ans+= 10**11 / (i*(i+k))
    
print(ans/10**11)
0