結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
10,212 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 39 ms
12,560 KB
testcase_05 WA -
testcase_06 AC 34 ms
11,840 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 30 ms
11,324 KB
testcase_10 AC 28 ms
10,348 KB
testcase_11 AC 49 ms
14,508 KB
testcase_12 WA -
testcase_13 AC 66 ms
17,416 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 33 ms
11,536 KB
testcase_17 AC 49 ms
14,404 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 56 ms
16,576 KB
testcase_22 AC 52 ms
13,484 KB
testcase_23 AC 25 ms
10,152 KB
testcase_24 AC 25 ms
10,152 KB
testcase_25 AC 29 ms
10,968 KB
testcase_26 AC 67 ms
18,480 KB
testcase_27 AC 25 ms
10,212 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 50+int((l[m-1]-a)*10/s))
0