結果

問題 No.3072 Sum of sqrt(x)
ユーザー KayShirasawaKayShirasawa
提出日時 2020-11-23 01:49:04
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 182 bytes
コンパイル時間 211 ms
コンパイル使用メモリ 10,608 KB
実行使用メモリ 70,972 KB
最終ジャッジ日時 2023-09-30 23:14:49
合計ジャッジ時間 62,304 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,900 KB
testcase_01 AC 17 ms
7,856 KB
testcase_02 AC 16 ms
7,976 KB
testcase_03 AC 16 ms
7,932 KB
testcase_04 AC 16 ms
7,976 KB
testcase_05 AC 17 ms
7,928 KB
testcase_06 AC 15 ms
7,880 KB
testcase_07 WA -
testcase_08 AC 1,023 ms
70,972 KB
testcase_09 AC 1,140 ms
70,904 KB
testcase_10 AC 1,279 ms
70,596 KB
testcase_11 AC 1,696 ms
70,640 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

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

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