結果

問題 No.1134 Deviation Score Ⅱ
ユーザー gorugo30gorugo30
提出日時 2021-02-25 14:37:32
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 241 bytes
コンパイル時間 293 ms
コンパイル使用メモリ 81,700 KB
実行使用メモリ 84,288 KB
最終ジャッジ日時 2024-04-08 11:45:05
合計ジャッジ時間 3,633 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
53,588 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 48 ms
67,200 KB
testcase_05 WA -
testcase_06 AC 52 ms
65,636 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 49 ms
64,148 KB
testcase_10 AC 45 ms
59,976 KB
testcase_11 AC 56 ms
73,784 KB
testcase_12 WA -
testcase_13 AC 61 ms
83,864 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 51 ms
64,868 KB
testcase_17 AC 57 ms
72,800 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 59 ms
78,476 KB
testcase_22 AC 58 ms
78,196 KB
testcase_23 AC 37 ms
53,460 KB
testcase_24 AC 38 ms
53,460 KB
testcase_25 AC 47 ms
62,080 KB
testcase_26 AC 66 ms
84,288 KB
testcase_27 AC 37 ms
53,588 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
X = list(map(int, input().split()))
M = int(input())
mu = sum(X) / N
var = sum([(X[i] - mu) ** 2 for i in range(N)]) / N
sigma = var ** 0.5
if sigma == 0:
    print(50)
else:
    print(50 + int(10 * (X[M - 1] - mu) / sigma))
0