結果
| 問題 | 
                            No.1271 初めての級数
                             | 
                    
| コンテスト | |
| ユーザー | 
                             proribone
                         | 
                    
| 提出日時 | 2020-10-30 21:41:54 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                TLE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 143 bytes | 
| コンパイル時間 | 252 ms | 
| コンパイル使用メモリ | 82,304 KB | 
| 実行使用メモリ | 94,464 KB | 
| 最終ジャッジ日時 | 2024-07-21 23:51:57 | 
| 合計ジャッジ時間 | 6,703 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | TLE * 1 -- * 12 | 
ソースコード
from decimal import Decimal as d
k=d(input())
n=d('1')
res=d('0')
for i in range(2*10**6):
    res+=d('1')/(n*(n+k))
    n+=d('1')
print(res)
            
            
            
        
            
proribone