結果

問題 No.1134 Deviation Score Ⅱ
ユーザー Takayuki HirotaTakayuki Hirota
提出日時 2021-03-16 11:38:52
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 63 ms / 2,000 ms
コード長 168 bytes
コンパイル時間 247 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 17,888 KB
最終ジャッジ日時 2024-04-25 11:00:16
合計ジャッジ時間 2,162 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
10,752 KB
testcase_01 AC 55 ms
16,020 KB
testcase_02 AC 56 ms
14,424 KB
testcase_03 AC 54 ms
15,476 KB
testcase_04 AC 39 ms
12,888 KB
testcase_05 AC 58 ms
16,124 KB
testcase_06 AC 37 ms
12,032 KB
testcase_07 AC 34 ms
11,776 KB
testcase_08 AC 54 ms
15,288 KB
testcase_09 AC 35 ms
11,520 KB
testcase_10 AC 25 ms
10,752 KB
testcase_11 AC 47 ms
14,080 KB
testcase_12 AC 44 ms
14,336 KB
testcase_13 AC 59 ms
16,856 KB
testcase_14 AC 46 ms
14,080 KB
testcase_15 AC 41 ms
13,104 KB
testcase_16 AC 34 ms
12,032 KB
testcase_17 AC 46 ms
14,156 KB
testcase_18 AC 47 ms
14,672 KB
testcase_19 AC 51 ms
15,728 KB
testcase_20 AC 39 ms
13,284 KB
testcase_21 AC 53 ms
16,040 KB
testcase_22 AC 45 ms
12,024 KB
testcase_23 AC 27 ms
10,752 KB
testcase_24 AC 28 ms
10,880 KB
testcase_25 AC 31 ms
11,392 KB
testcase_26 AC 63 ms
17,888 KB
testcase_27 AC 27 ms
10,752 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
*x,=map(int,input().split())
m=int(input())
q=sum([i**2 for i in x])/n
v=(sum(x)/n)

st=(q-v**2)**0.5
p=x[m-1]
print(int(50+10*(p-v)/st) if st>0 else 50)
0