結果

問題 No.1271 初めての級数
ユーザー 👑 KazunKazun
提出日時 2020-10-30 21:23:02
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 67 bytes
コンパイル時間 248 ms
コンパイル使用メモリ 87,140 KB
実行使用メモリ 71,660 KB
最終ジャッジ日時 2023-09-29 04:36:42
合計ジャッジ時間 2,065 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 66 ms
71,480 KB
testcase_02 AC 65 ms
71,488 KB
testcase_03 AC 69 ms
71,456 KB
testcase_04 AC 76 ms
71,516 KB
testcase_05 AC 66 ms
71,444 KB
testcase_06 AC 66 ms
71,352 KB
testcase_07 AC 68 ms
71,660 KB
testcase_08 AC 67 ms
71,440 KB
testcase_09 AC 65 ms
71,156 KB
testcase_10 AC 66 ms
71,600 KB
testcase_11 AC 66 ms
71,236 KB
testcase_12 AC 68 ms
71,380 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

k=int(input())

x=0
for i in range(1,k+1):
    x+=1/(i*k)

print(x)
0