結果

問題 No.1134 Deviation Score Ⅱ
ユーザー nohakai3nohakai3
提出日時 2022-07-20 13:28:37
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 166 ms / 2,000 ms
コード長 197 bytes
コンパイル時間 301 ms
コンパイル使用メモリ 10,660 KB
実行使用メモリ 16,496 KB
最終ジャッジ日時 2023-09-15 09:22:58
合計ジャッジ時間 3,993 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 33 ms
10,260 KB
testcase_01 AC 148 ms
14,720 KB
testcase_02 AC 113 ms
12,724 KB
testcase_03 AC 132 ms
13,820 KB
testcase_04 AC 76 ms
11,548 KB
testcase_05 AC 149 ms
14,516 KB
testcase_06 AC 63 ms
10,880 KB
testcase_07 AC 55 ms
10,548 KB
testcase_08 AC 129 ms
13,548 KB
testcase_09 AC 52 ms
10,560 KB
testcase_10 AC 34 ms
10,392 KB
testcase_11 AC 110 ms
12,396 KB
testcase_12 AC 107 ms
12,368 KB
testcase_13 AC 160 ms
15,140 KB
testcase_14 AC 110 ms
12,500 KB
testcase_15 AC 85 ms
11,160 KB
testcase_16 AC 57 ms
10,600 KB
testcase_17 AC 107 ms
12,364 KB
testcase_18 AC 114 ms
12,696 KB
testcase_19 AC 138 ms
14,040 KB
testcase_20 AC 89 ms
12,272 KB
testcase_21 AC 85 ms
14,624 KB
testcase_22 AC 76 ms
10,848 KB
testcase_23 AC 33 ms
10,152 KB
testcase_24 AC 33 ms
10,212 KB
testcase_25 AC 46 ms
10,444 KB
testcase_26 AC 166 ms
16,496 KB
testcase_27 AC 33 ms
10,200 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
x=list(map(int,input().split()))
m=int(input())

from statistics import pstdev,mean
m-=1
if pstdev(x)==0:
    print(50)
    exit()
ans=50+10*(x[m]-mean(x))/pstdev(x)

print(int(ans))
0