結果

問題 No.3072 Sum of sqrt(x)
ユーザー maspymaspy
提出日時 2020-06-14 01:36:03
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 228 bytes
コンパイル時間 995 ms
コンパイル使用メモリ 10,460 KB
実行使用メモリ 358,784 KB
最終ジャッジ日時 2023-09-16 10:11:05
合計ジャッジ時間 61,191 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 OLE -
testcase_08 WA -
testcase_09 WA -
testcase_10 OLE -
testcase_11 OLE -
testcase_12 OLE -
testcase_13 OLE -
testcase_14 OLE -
testcase_15 OLE -
testcase_16 OLE -
testcase_17 OLE -
testcase_18 OLE -
testcase_19 OLE -
testcase_20 OLE -
testcase_21 OLE -
testcase_22 OLE -
testcase_23 OLE -
testcase_24 OLE -
testcase_25 OLE -
testcase_26 OLE -
testcase_27 OLE -
testcase_28 OLE -
testcase_29 OLE -
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy as np
import sys
readline = sys.stdin.buffer.readline
read = sys.stdin.buffer.read

N = int(readline())
x= np.array(read().split(), np.float128)

print(len(x))
x = np.sqrt(x).cumsum()
print('\n'.join(x.astype(str)))
0