結果

問題 No.3072 Sum of sqrt(x)
ユーザー toyuzukotoyuzuko
提出日時 2020-10-08 23:58:09
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 187 bytes
コンパイル時間 759 ms
コンパイル使用メモリ 10,508 KB
実行使用メモリ 151,956 KB
最終ジャッジ日時 2023-09-27 12:08:23
合計ジャッジ時間 59,196 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
7,792 KB
testcase_01 AC 14 ms
7,864 KB
testcase_02 AC 14 ms
7,796 KB
testcase_03 AC 14 ms
7,792 KB
testcase_04 AC 13 ms
7,820 KB
testcase_05 AC 14 ms
7,796 KB
testcase_06 AC 14 ms
7,788 KB
testcase_07 WA -
testcase_08 AC 661 ms
121,868 KB
testcase_09 AC 767 ms
126,640 KB
testcase_10 AC 1,131 ms
151,132 KB
testcase_11 AC 1,432 ms
151,084 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 sys
input = sys.stdin.buffer.readline

N = int(input())
s = 0
res = []

for _ in range(N):
    x = float(input())
    s += x**0.5
    res.append(s)

print('\n'.join(map(str, res)))
0