結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
53,588 KB
testcase_01 AC 60 ms
80,100 KB
testcase_02 AC 54 ms
73,848 KB
testcase_03 AC 57 ms
78,480 KB
testcase_04 AC 49 ms
67,200 KB
testcase_05 AC 60 ms
80,092 KB
testcase_06 AC 47 ms
65,636 KB
testcase_07 AC 45 ms
64,556 KB
testcase_08 AC 56 ms
78,428 KB
testcase_09 AC 46 ms
64,148 KB
testcase_10 AC 45 ms
59,976 KB
testcase_11 AC 56 ms
73,784 KB
testcase_12 AC 54 ms
72,788 KB
testcase_13 AC 61 ms
83,864 KB
testcase_14 AC 55 ms
73,796 KB
testcase_15 AC 51 ms
69,948 KB
testcase_16 AC 47 ms
64,868 KB
testcase_17 AC 55 ms
72,800 KB
testcase_18 AC 54 ms
73,856 KB
testcase_19 AC 59 ms
78,568 KB
testcase_20 AC 51 ms
70,668 KB
testcase_21 AC 58 ms
78,476 KB
testcase_22 AC 57 ms
78,196 KB
testcase_23 AC 37 ms
53,460 KB
testcase_24 AC 38 ms
53,460 KB
testcase_25 AC 45 ms
62,080 KB
testcase_26 AC 62 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(int(50 + 10 * (X[M - 1] - mu) / sigma))
0