結果

問題 No.1134 Deviation Score Ⅱ
ユーザー gorugo30
提出日時 2021-02-25 14:37:32
言語 PyPy3
(7.3.17)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
WA  
実行時間 -
コード長 241 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 117 ms
コンパイル使用メモリ 84,992 KB
実行使用メモリ 83,584 KB
最終ジャッジ日時 2026-04-17 05:28:06
合計ジャッジ時間 3,203 ms
ジャッジサーバーID
(参考情報)
judge2_0 / judge1_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 15 WA * 13
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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