結果

問題 No.1271 初めての級数
ユーザー lllllll88938494lllllll88938494
提出日時 2022-01-14 21:59:31
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 89 ms / 2,000 ms
コード長 97 bytes
コンパイル時間 281 ms
コンパイル使用メモリ 87,068 KB
実行使用メモリ 76,476 KB
最終ジャッジ日時 2023-08-12 19:32:30
合計ジャッジ時間 2,211 ms
ジャッジサーバーID
(参考情報)
judge9 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 86 ms
76,112 KB
testcase_01 AC 85 ms
76,364 KB
testcase_02 AC 85 ms
76,244 KB
testcase_03 AC 89 ms
76,204 KB
testcase_04 AC 85 ms
76,396 KB
testcase_05 AC 86 ms
76,164 KB
testcase_06 AC 87 ms
76,192 KB
testcase_07 AC 86 ms
76,100 KB
testcase_08 AC 85 ms
76,128 KB
testcase_09 AC 86 ms
76,108 KB
testcase_10 AC 85 ms
76,208 KB
testcase_11 AC 87 ms
76,476 KB
testcase_12 AC 84 ms
76,132 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