結果

問題 No.8072 Sum of sqrt(x)
ユーザー nishigake
提出日時 2020-11-23 01:51:20
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 240 bytes
コンパイル時間 587 ms
コンパイル使用メモリ 12,288 KB
実行使用メモリ 90,240 KB
最終ジャッジ日時 2024-07-23 16:55:33
合計ジャッジ時間 11,102 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 4 TLE * 1 -- * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import sqrt
from decimal import Decimal
import sys
input = sys.stdin.readline

N = int(input())
ans = [0]*(N+1)
ans[0] = Decimal(0)
for i in range(1,N+1):
    ans[i] = ans[i-1]+Decimal(int(input())).sqrt()
print(*ans[1:],sep="\n")
0