結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
10,144 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 45 ms
12,524 KB
testcase_05 WA -
testcase_06 AC 41 ms
11,764 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 36 ms
11,256 KB
testcase_10 AC 31 ms
10,276 KB
testcase_11 AC 57 ms
14,416 KB
testcase_12 WA -
testcase_13 AC 74 ms
17,344 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 38 ms
11,460 KB
testcase_17 AC 56 ms
14,328 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 65 ms
16,696 KB
testcase_22 AC 56 ms
13,404 KB
testcase_23 AC 29 ms
10,092 KB
testcase_24 AC 30 ms
10,092 KB
testcase_25 AC 34 ms
11,032 KB
testcase_26 AC 77 ms
18,880 KB
testcase_27 AC 30 ms
10,144 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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