結果

問題 No.3072 Sum of sqrt(x)
ユーザー KayShirasawaKayShirasawa
提出日時 2020-11-23 01:53:56
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 240 bytes
コンパイル時間 1,803 ms
コンパイル使用メモリ 86,876 KB
実行使用メモリ 151,492 KB
最終ジャッジ日時 2023-09-30 23:15:26
合計ジャッジ時間 13,893 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 209 ms
88,688 KB
testcase_01 AC 207 ms
88,680 KB
testcase_02 AC 212 ms
89,276 KB
testcase_03 AC 211 ms
89,032 KB
testcase_04 AC 206 ms
88,968 KB
testcase_05 AC 208 ms
88,608 KB
testcase_06 AC 215 ms
88,724 KB
testcase_07 TLE -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
testcase_23 -- -
testcase_24 -- -
testcase_25 -- -
testcase_26 -- -
testcase_27 -- -
testcase_28 -- -
testcase_29 -- -
権限があれば一括ダウンロードができます

ソースコード

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