結果
| 問題 | 
                            No.8072 Sum of sqrt(x)
                             | 
                    
| ユーザー | 
                             toyuzuko
                         | 
                    
| 提出日時 | 2020-10-08 23:56:29 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                TLE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 257 bytes | 
| コンパイル時間 | 700 ms | 
| コンパイル使用メモリ | 81,920 KB | 
| 実行使用メモリ | 146,176 KB | 
| 最終ジャッジ日時 | 2024-07-20 06:14:57 | 
| 合計ジャッジ時間 | 13,831 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 4 TLE * 1 -- * 22 | 
ソースコード
import sys
input = sys.stdin.readline
from decimal import Decimal, getcontext
getcontext().prec = 18
N = int(input())
s = Decimal(0)
res = []
for _ in range(N):
    x = Decimal(input())
    s += x.sqrt()
    res.append(s)
print('\n'.join(map(str, res)))
            
            
            
        
            
toyuzuko