結果
問題 |
No.1134 Deviation Score Ⅱ
|
ユーザー |
|
提出日時 | 2020-07-27 22:35:04 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 221 bytes |
コンパイル時間 | 173 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 86,784 KB |
最終ジャッジ日時 | 2024-06-28 21:12:07 |
合計ジャッジ時間 | 2,747 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 23 RE * 4 |
ソースコード
import sys input = sys.stdin.readline N = int(input()) x = list(map(int, input().split())) M = int(input())-1 ave = sum(x)/N var = sum((xi-ave)**2 for xi in x)/N sigma = var**0.5 d = (x[M]-ave)*10/sigma print(int(50+d))