結果

問題 No.8072 Sum of sqrt(x)
ユーザー maspy
提出日時 2020-06-21 12:21:45
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 248 bytes
コンパイル時間 815 ms
コンパイル使用メモリ 82,300 KB
実行使用メモリ 228,140 KB
最終ジャッジ日時 2024-06-30 13:52:59
合計ジャッジ時間 54,000 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 8 WA * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline

N = int(readline())
nums = map(int, read().split())
ans = [0.0] * N
s = 0
for i,x in enumerate(nums):
    s += x**.5
    ans[i] = s

S = '\n'.join(map(str, ans))
print(S)
0