結果

問題 No.1134 Deviation Score Ⅱ
ユーザー gorugo30
提出日時 2021-02-25 14:37:32
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 241 bytes
コンパイル時間 230 ms
コンパイル使用メモリ 82,464 KB
実行使用メモリ 83,200 KB
最終ジャッジ日時 2024-10-01 05:34:25
合計ジャッジ時間 3,225 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 15 WA * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
X = list(map(int, input().split()))
M = int(input())
mu = sum(X) / N
var = sum([(X[i] - mu) ** 2 for i in range(N)]) / N
sigma = var ** 0.5
if sigma == 0:
    print(50)
else:
    print(50 + int(10 * (X[M - 1] - mu) / sigma))
0