結果

問題 No.3072 Speedrun Query
ユーザー gew1fw
提出日時 2025-06-12 14:55:29
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 330 bytes
コンパイル時間 209 ms
コンパイル使用メモリ 82,236 KB
実行使用メモリ 190,356 KB
最終ジャッジ日時 2025-06-12 14:58:00
合計ジャッジ時間 12,436 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 1
other WA * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
import math

def main():
    data = sys.stdin.read().split()
    n = int(data[0])
    xs = list(map(int, data[1:n+1]))
    sum_so_far = 0.0
    res = []
    for x in xs:
        sum_so_far += math.sqrt(x)
        res.append("{0:.17f}".format(sum_so_far))
    print('\n'.join(res))

if __name__ == "__main__":
    main()
0