結果

問題 No.8072 Sum of sqrt(x)
ユーザー maspy
提出日時 2020-06-14 01:36:03
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 228 bytes
コンパイル時間 85 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 356,560 KB
最終ジャッジ日時 2024-07-03 11:16:37
合計ジャッジ時間 31,105 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 6 TLE * 1 OLE * 11 -- * 9
権限があれば一括ダウンロードができます

ソースコード

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