結果

問題 No.1271 初めての級数
ユーザー lllllll88938494lllllll88938494
提出日時 2022-01-14 21:52:00
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 97 bytes
コンパイル時間 93 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-04-30 14:17:11
合計ジャッジ時間 5,081 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 395 ms
10,752 KB
testcase_01 WA -
testcase_02 AC 303 ms
10,624 KB
testcase_03 AC 298 ms
10,624 KB
testcase_04 AC 304 ms
10,624 KB
testcase_05 AC 293 ms
10,752 KB
testcase_06 AC 295 ms
10,624 KB
testcase_07 AC 296 ms
10,624 KB
testcase_08 AC 300 ms
10,752 KB
testcase_09 AC 293 ms
10,624 KB
testcase_10 AC 299 ms
10,624 KB
testcase_11 AC 297 ms
10,624 KB
testcase_12 AC 296 ms
10,624 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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