結果

問題 No.1134 Deviation Score Ⅱ
ユーザー umashi-pan-tnokk093numashi-pan-tnokk093n
提出日時 2020-08-13 19:47:47
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 79 ms / 2,000 ms
コード長 219 bytes
コンパイル時間 77 ms
コンパイル使用メモリ 12,800 KB
実行使用メモリ 18,004 KB
最終ジャッジ日時 2024-04-18 01:47:36
合計ジャッジ時間 2,331 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 27 ms
10,752 KB
testcase_01 AC 73 ms
16,152 KB
testcase_02 AC 60 ms
14,760 KB
testcase_03 AC 70 ms
15,716 KB
testcase_04 AC 45 ms
12,880 KB
testcase_05 AC 72 ms
16,124 KB
testcase_06 AC 41 ms
12,160 KB
testcase_07 AC 38 ms
11,776 KB
testcase_08 AC 68 ms
15,284 KB
testcase_09 AC 36 ms
11,648 KB
testcase_10 AC 30 ms
10,752 KB
testcase_11 AC 58 ms
14,592 KB
testcase_12 AC 57 ms
14,336 KB
testcase_13 AC 79 ms
16,848 KB
testcase_14 AC 59 ms
14,592 KB
testcase_15 AC 50 ms
13,224 KB
testcase_16 AC 38 ms
11,776 KB
testcase_17 AC 58 ms
14,280 KB
testcase_18 AC 62 ms
14,664 KB
testcase_19 AC 69 ms
15,728 KB
testcase_20 AC 50 ms
13,416 KB
testcase_21 AC 68 ms
16,040 KB
testcase_22 AC 60 ms
14,164 KB
testcase_23 AC 28 ms
10,752 KB
testcase_24 AC 29 ms
10,624 KB
testcase_25 AC 33 ms
11,392 KB
testcase_26 AC 79 ms
18,004 KB
testcase_27 AC 30 ms
10,752 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

ave=sum(x)/n
xx=[(i-ave)**2 for i in x]
hyojunhensa=(sum(xx)/n)**0.5

if hyojunhensa==0:
    print(50)
else:
    print(int((x[m-1]-ave)*10/hyojunhensa+50))
0