結果

問題 No.1134 Deviation Score Ⅱ
ユーザー matrie
提出日時 2020-12-20 07:42:20
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 179 bytes
コンパイル時間 79 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 17,876 KB
最終ジャッジ日時 2024-09-21 11:34:08
合計ジャッジ時間 2,647 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 15 WA * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
l=list(map(int,input().split()))
m=int(input())
a=sum(l)/len(l)
s=[abs(x-a)**2 for x in l]
b=(sum(s)/len(s))**.5
print(50 if l[m-1]==a else 50+int((l[m-1]-a)*10/b))
0