結果

問題 No.1134 Deviation Score Ⅱ
ユーザー roarisroaris
提出日時 2020-07-27 22:35:04
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 221 bytes
コンパイル時間 296 ms
コンパイル使用メモリ 87,304 KB
実行使用メモリ 89,440 KB
最終ジャッジ日時 2023-09-11 07:00:23
合計ジャッジ時間 4,374 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
71,520 KB
testcase_01 AC 100 ms
87,604 KB
testcase_02 AC 89 ms
83,872 KB
testcase_03 AC 93 ms
86,096 KB
testcase_04 AC 84 ms
79,892 KB
testcase_05 AC 93 ms
87,616 KB
testcase_06 AC 83 ms
77,928 KB
testcase_07 AC 79 ms
77,200 KB
testcase_08 AC 91 ms
86,364 KB
testcase_09 AC 80 ms
76,964 KB
testcase_10 AC 80 ms
76,764 KB
testcase_11 AC 89 ms
83,628 KB
testcase_12 AC 88 ms
82,888 KB
testcase_13 AC 96 ms
89,248 KB
testcase_14 AC 89 ms
83,908 KB
testcase_15 AC 87 ms
80,240 KB
testcase_16 AC 81 ms
77,544 KB
testcase_17 AC 88 ms
82,660 KB
testcase_18 AC 90 ms
83,640 KB
testcase_19 AC 94 ms
86,176 KB
testcase_20 AC 86 ms
81,152 KB
testcase_21 RE -
testcase_22 RE -
testcase_23 RE -
testcase_24 RE -
testcase_25 AC 81 ms
76,704 KB
testcase_26 AC 96 ms
89,440 KB
testcase_27 AC 76 ms
71,596 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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))
0