結果

問題 No.1134 Deviation Score Ⅱ
ユーザー 37zigen37zigen
提出日時 2020-08-03 16:51:54
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 58 ms / 2,000 ms
コード長 165 bytes
コンパイル時間 91 ms
コンパイル使用メモリ 10,672 KB
実行使用メモリ 16,992 KB
最終ジャッジ日時 2023-10-11 09:57:59
合計ジャッジ時間 2,339 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,864 KB
testcase_01 AC 52 ms
14,636 KB
testcase_02 AC 41 ms
12,820 KB
testcase_03 AC 46 ms
13,992 KB
testcase_04 AC 29 ms
10,708 KB
testcase_05 AC 51 ms
14,648 KB
testcase_06 AC 26 ms
9,864 KB
testcase_07 AC 22 ms
9,400 KB
testcase_08 AC 46 ms
13,684 KB
testcase_09 AC 21 ms
9,508 KB
testcase_10 AC 16 ms
7,800 KB
testcase_11 AC 43 ms
12,580 KB
testcase_12 AC 38 ms
12,272 KB
testcase_13 AC 55 ms
15,568 KB
testcase_14 AC 40 ms
12,524 KB
testcase_15 AC 32 ms
11,272 KB
testcase_16 AC 23 ms
9,476 KB
testcase_17 AC 38 ms
12,540 KB
testcase_18 AC 40 ms
12,780 KB
testcase_19 AC 49 ms
14,180 KB
testcase_20 AC 32 ms
11,328 KB
testcase_21 AC 48 ms
14,664 KB
testcase_22 AC 40 ms
11,668 KB
testcase_23 AC 15 ms
7,824 KB
testcase_24 AC 15 ms
7,776 KB
testcase_25 AC 19 ms
9,256 KB
testcase_26 AC 58 ms
16,992 KB
testcase_27 AC 15 ms
7,864 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
x=[int(x) for x in input().split()]
M=int(input())-1
e=sum(x)/N
y=[(v-e)**2 for v in x]
a=(sum(y)/N)**0.5
print(50 if a==0 else int((x[M]-e)*10/a+50))
0