結果
| 問題 |
No.1134 Deviation Score Ⅱ
|
| ユーザー |
|
| 提出日時 | 2020-07-29 08:58:00 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 265 bytes |
| コンパイル時間 | 155 ms |
| コンパイル使用メモリ | 82,348 KB |
| 実行使用メモリ | 86,720 KB |
| 最終ジャッジ日時 | 2024-06-28 21:22:52 |
| 合計ジャッジ時間 | 2,286 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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
if x==x[0]*N:
print(50)
exit()
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))