結果

問題 No.1271 初めての級数
ユーザー rusa_dkrusa_dk
提出日時 2020-10-30 22:30:56
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 1,769 ms / 2,000 ms
コード長 69 bytes
コンパイル時間 272 ms
コンパイル使用メモリ 86,780 KB
実行使用メモリ 76,560 KB
最終ジャッジ日時 2023-09-29 07:12:13
合計ジャッジ時間 25,602 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,747 ms
76,232 KB
testcase_01 AC 1,757 ms
76,492 KB
testcase_02 AC 1,751 ms
76,160 KB
testcase_03 AC 1,751 ms
76,212 KB
testcase_04 AC 1,749 ms
76,476 KB
testcase_05 AC 1,742 ms
76,540 KB
testcase_06 AC 1,769 ms
76,484 KB
testcase_07 AC 1,753 ms
76,456 KB
testcase_08 AC 1,745 ms
76,560 KB
testcase_09 AC 1,747 ms
76,528 KB
testcase_10 AC 1,741 ms
76,476 KB
testcase_11 AC 1,753 ms
76,260 KB
testcase_12 AC 1,759 ms
76,500 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

k=int(input())
s=0
for i in range(1,10**8):
  s+=1/(i*(i+k))
print(s)
0