結果

問題 No.1271 初めての級数
ユーザー KeroruKeroru
提出日時 2020-10-31 00:10:36
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 52 bytes
コンパイル時間 284 ms
コンパイル使用メモリ 87,092 KB
実行使用メモリ 79,104 KB
最終ジャッジ日時 2023-09-29 09:18:03
合計ジャッジ時間 2,387 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 AC 72 ms
71,316 KB
testcase_02 AC 70 ms
71,520 KB
testcase_03 AC 72 ms
71,232 KB
testcase_04 AC 72 ms
71,208 KB
testcase_05 AC 71 ms
71,520 KB
testcase_06 AC 71 ms
71,204 KB
testcase_07 AC 72 ms
71,452 KB
testcase_08 AC 73 ms
71,132 KB
testcase_09 AC 72 ms
71,332 KB
testcase_10 AC 72 ms
71,412 KB
testcase_11 AC 72 ms
71,448 KB
testcase_12 AC 73 ms
71,488 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

k=int(input())
print(sum(1/-~n for n in range(k))/k)
0