結果

問題 No.1271 初めての級数
ユーザー lllllll88938494lllllll88938494
提出日時 2022-01-14 21:49:09
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 106 bytes
コンパイル時間 248 ms
コンパイル使用メモリ 82,464 KB
実行使用メモリ 73,888 KB
最終ジャッジ日時 2024-04-30 14:09:11
合計ジャッジ時間 1,565 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 47 ms
73,496 KB
testcase_01 AC 46 ms
73,500 KB
testcase_02 AC 46 ms
73,340 KB
testcase_03 AC 45 ms
73,292 KB
testcase_04 AC 47 ms
73,552 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 47 ms
73,520 KB
testcase_11 AC 47 ms
73,888 KB
testcase_12 AC 48 ms
73,504 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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