結果

問題 No.3072 Sum of sqrt(x)
ユーザー harurunharurun
提出日時 2020-09-12 16:41:38
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 174 bytes
コンパイル時間 1,330 ms
コンパイル使用メモリ 10,648 KB
実行使用メモリ 130,640 KB
最終ジャッジ日時 2023-08-30 15:48:02
合計ジャッジ時間 62,177 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,884 KB
testcase_01 AC 15 ms
7,976 KB
testcase_02 AC 17 ms
7,856 KB
testcase_03 AC 16 ms
7,972 KB
testcase_04 AC 16 ms
7,928 KB
testcase_05 AC 16 ms
7,972 KB
testcase_06 AC 15 ms
7,912 KB
testcase_07 WA -
testcase_08 AC 893 ms
86,620 KB
testcase_09 AC 991 ms
96,084 KB
testcase_10 AC 1,174 ms
129,392 KB
testcase_11 AC 1,690 ms
129,396 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 #

import math
import sys
pin=sys.stdin.readline
ans=0
l=[]
N=int(pin())
for i in range(N):
    x=int(pin())
    ans+=math.sqrt(x)
    l.append(str(ans))
c="\n".join(l)
print(c)
0