結果

問題 No.1271 初めての級数
ユーザー dangodango
提出日時 2023-06-13 20:52:45
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 1,747 ms / 2,000 ms
コード長 84 bytes
コンパイル時間 287 ms
コンパイル使用メモリ 87,080 KB
実行使用メモリ 76,920 KB
最終ジャッジ日時 2023-09-04 07:46:17
合計ジャッジ時間 25,637 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,735 ms
76,572 KB
testcase_01 AC 1,734 ms
76,652 KB
testcase_02 AC 1,731 ms
76,576 KB
testcase_03 AC 1,737 ms
76,464 KB
testcase_04 AC 1,735 ms
76,484 KB
testcase_05 AC 1,747 ms
76,588 KB
testcase_06 AC 1,733 ms
76,540 KB
testcase_07 AC 1,735 ms
76,480 KB
testcase_08 AC 1,738 ms
76,544 KB
testcase_09 AC 1,738 ms
76,520 KB
testcase_10 AC 1,734 ms
76,920 KB
testcase_11 AC 1,731 ms
76,472 KB
testcase_12 AC 1,728 ms
76,584 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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