結果
| 問題 |
No.1134 Deviation Score Ⅱ
|
| ユーザー |
rythem00359
|
| 提出日時 | 2020-08-13 09:39:32 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 214 bytes |
| コンパイル時間 | 318 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 47,116 KB |
| 最終ジャッジ日時 | 2024-10-09 19:04:22 |
| 合計ジャッジ時間 | 19,250 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 1 |
| other | RE * 27 |
ソースコード
from math import sqrt
import numpy
N=int(input())
x=numpy.array([*map(int, input().split())])
M=int(input())
mae=0
ave=numpy.mean(x)
for i in x:
mae+=pow(ave-i,2)/N
print(int((x[M-1]-ave)*10/math.sqrt(mae)+50))
rythem00359