結果
問題 |
No.8072 Sum of sqrt(x)
|
ユーザー |
![]() |
提出日時 | 2020-11-08 17:06:31 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 290 bytes |
コンパイル時間 | 175 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 52,200 KB |
最終ジャッジ日時 | 2024-07-22 15:18:58 |
合計ジャッジ時間 | 25,611 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 27 |
ソースコード
import numpy as np A = input() B = [] C = [0] * int(A) counter = 0 for x in range(int(A)): B.append(input()) counter = 0 for y in B: C[x] = C[x] + np.sqrt(B[counter]) counter = counter + 1 counter = 0 for x in C: print(C[counter]) counter = counter + 1