結果

問題 No.1271 初めての級数
ユーザー KudeKude
提出日時 2020-10-30 21:23:49
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 63 bytes
コンパイル時間 263 ms
コンパイル使用メモリ 87,080 KB
実行使用メモリ 79,100 KB
最終ジャッジ日時 2023-09-29 04:39:18
合計ジャッジ時間 2,268 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 AC 64 ms
71,304 KB
testcase_02 AC 68 ms
71,156 KB
testcase_03 AC 65 ms
71,644 KB
testcase_04 AC 65 ms
71,620 KB
testcase_05 AC 65 ms
71,352 KB
testcase_06 AC 65 ms
71,284 KB
testcase_07 AC 70 ms
71,468 KB
testcase_08 AC 66 ms
71,436 KB
testcase_09 AC 64 ms
71,380 KB
testcase_10 AC 65 ms
71,240 KB
testcase_11 AC 65 ms
71,348 KB
testcase_12 AC 65 ms
71,280 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

k = int(input())
print(sum(1 / i for i in range(1, k + 1)) / k)
0