結果

問題 No.3072 Speedrun Query
ユーザー lam6er
提出日時 2025-04-15 23:55:57
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 294 bytes
コンパイル時間 313 ms
コンパイル使用メモリ 81,784 KB
実行使用メモリ 175,920 KB
最終ジャッジ日時 2025-04-15 23:57:52
合計ジャッジ時間 9,745 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 1
other WA * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
import sys

def main():
    input = sys.stdin.read().split()
    n = int(input[0])
    x_list = list(map(int, input[1:n+1]))
    sum_total = 0.0
    for x in x_list:
        sum_total += math.sqrt(x)
        print("{0:.17g}".format(sum_total))

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