結果

問題 No.8072 Sum of sqrt(x)
ユーザー toyuzuko
提出日時 2020-10-08 23:53:10
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 222 bytes
コンパイル時間 234 ms
コンパイル使用メモリ 82,252 KB
実行使用メモリ 147,368 KB
最終ジャッジ日時 2024-07-20 06:14:36
合計ジャッジ時間 17,093 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 4 TLE * 1 -- * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline

from decimal import Decimal

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)))
0