結果

問題 No.1134 Deviation Score Ⅱ
ユーザー matriematrie
提出日時 2020-12-20 07:50:25
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 69 ms / 2,000 ms
コード長 163 bytes
コンパイル時間 87 ms
コンパイル使用メモリ 11,808 KB
実行使用メモリ 18,472 KB
最終ジャッジ日時 2023-10-21 10:27:57
合計ジャッジ時間 2,245 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 26 ms
10,220 KB
testcase_01 AC 67 ms
16,644 KB
testcase_02 AC 50 ms
14,688 KB
testcase_03 AC 56 ms
15,724 KB
testcase_04 AC 38 ms
12,552 KB
testcase_05 AC 66 ms
16,612 KB
testcase_06 AC 33 ms
11,832 KB
testcase_07 AC 31 ms
11,424 KB
testcase_08 AC 58 ms
15,584 KB
testcase_09 AC 31 ms
11,332 KB
testcase_10 AC 27 ms
10,356 KB
testcase_11 AC 52 ms
14,500 KB
testcase_12 AC 49 ms
14,240 KB
testcase_13 AC 68 ms
17,408 KB
testcase_14 AC 51 ms
14,536 KB
testcase_15 AC 40 ms
13,132 KB
testcase_16 AC 32 ms
11,528 KB
testcase_17 AC 50 ms
14,396 KB
testcase_18 AC 52 ms
14,720 KB
testcase_19 AC 57 ms
16,016 KB
testcase_20 AC 44 ms
13,288 KB
testcase_21 AC 60 ms
16,568 KB
testcase_22 AC 51 ms
13,476 KB
testcase_23 AC 25 ms
10,160 KB
testcase_24 AC 25 ms
10,160 KB
testcase_25 AC 28 ms
10,968 KB
testcase_26 AC 69 ms
18,472 KB
testcase_27 AC 25 ms
10,220 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
l=list(map(int,input().split()))
m=int(input())
a=sum(l)/n
s=sum([abs(x-a)**2/n for x in l])**.5
print(50 if l[m-1]==a else int(50+(l[m-1]-a)*10/s))
0