結果

問題 No.3072 Sum of sqrt(x)
ユーザー akasia_midoriakasia_midori
提出日時 2022-05-03 06:33:06
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 305 bytes
コンパイル時間 1,237 ms
コンパイル使用メモリ 10,728 KB
実行使用メモリ 14,268 KB
最終ジャッジ日時 2023-09-15 05:50:17
合計ジャッジ時間 11,749 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 21 ms
14,268 KB
testcase_01 AC 21 ms
9,140 KB
testcase_02 AC 21 ms
9,140 KB
testcase_03 AC 21 ms
9,064 KB
testcase_04 AC 21 ms
8,872 KB
testcase_05 AC 21 ms
9,172 KB
testcase_06 AC 21 ms
9,112 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 #

import decimal
import sys
input = sys.stdin.readline

def one_str():
    return input()

def many_int():
    return list(map(int, input().split()))

decimal.getcontext().prec = 16

input_count = 0
N = many_int()[0]
now = 0
for i in range(N):
    now += decimal.Decimal(many_int()[0]**(1/2))
    print(now)
0