結果
問題 |
No.2235 Line Up Colored Balls
|
ユーザー |
![]() |
提出日時 | 2023-01-25 16:43:05 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 146 bytes |
コンパイル時間 | 160 ms |
コンパイル使用メモリ | 82,312 KB |
実行使用メモリ | 66,996 KB |
最終ジャッジ日時 | 2024-07-22 07:16:17 |
合計ジャッジ時間 | 5,282 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 4 |
other | RE * 55 |
ソースコード
import numpy as np N = int(input()) a = np.array(list(map(float, input().split()))) s = np.sum(a) t = np.sum(a**2) ans = (s*s-t)/s+1 print(ans)