結果
| 問題 | 
                            No.8072 Sum of sqrt(x)
                             | 
                    
| ユーザー | 
                             toyuzuko
                         | 
                    
| 提出日時 | 2021-08-15 10:58:00 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                TLE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 267 bytes | 
| コンパイル時間 | 716 ms | 
| コンパイル使用メモリ | 82,372 KB | 
| 実行使用メモリ | 150,124 KB | 
| 最終ジャッジ日時 | 2024-10-07 02:23:41 | 
| 合計ジャッジ時間 | 12,130 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 4 TLE * 1 -- * 22 | 
ソースコード
from decimal import Decimal, getcontext
getcontext().prec = 20
import sys
input = sys.stdin.buffer.readline
N = int(input())
res = []
cur = 0
for _ in range(N):
    x = Decimal(int(input()))
    cur += x.sqrt()
    res.append(cur)
print('\n'.join(map(str, res)))
            
            
            
        
            
toyuzuko