結果
問題 | No.1134 Deviation Score Ⅱ |
ユーザー |
👑 ![]() |
提出日時 | 2020-07-29 02:12:18 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 74 ms / 2,000 ms |
コード長 | 203 bytes |
コンパイル時間 | 149 ms |
コンパイル使用メモリ | 82,268 KB |
実行使用メモリ | 82,816 KB |
最終ジャッジ日時 | 2024-06-28 21:13:54 |
合計ジャッジ時間 | 2,635 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 27 |
ソースコード
from math import sqrtN=int(input())X=list(map(int,input().split()))M=int(input())-1A=sum(X)/NS=sqrt(sum([(x-A)*(x-A) for x in X])/N)if S==0:print(50)else:print(int((X[M]-A)/S*10+50))