結果

問題 No.1134 Deviation Score Ⅱ
ユーザー first_vilfirst_vil
提出日時 2020-07-27 11:29:18
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 179 bytes
コンパイル時間 674 ms
コンパイル使用メモリ 10,644 KB
実行使用メモリ 17,068 KB
最終ジャッジ日時 2023-09-11 07:00:16
合計ジャッジ時間 2,501 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
7,852 KB
testcase_01 AC 56 ms
14,788 KB
testcase_02 AC 43 ms
12,764 KB
testcase_03 AC 49 ms
13,772 KB
testcase_04 AC 31 ms
10,572 KB
testcase_05 AC 54 ms
14,600 KB
testcase_06 AC 27 ms
9,848 KB
testcase_07 AC 24 ms
9,500 KB
testcase_08 AC 49 ms
13,752 KB
testcase_09 AC 23 ms
9,348 KB
testcase_10 AC 17 ms
7,888 KB
testcase_11 AC 42 ms
12,588 KB
testcase_12 AC 40 ms
12,424 KB
testcase_13 AC 58 ms
15,612 KB
testcase_14 AC 41 ms
12,688 KB
testcase_15 AC 34 ms
11,168 KB
testcase_16 AC 24 ms
9,572 KB
testcase_17 AC 42 ms
12,396 KB
testcase_18 AC 43 ms
12,708 KB
testcase_19 AC 51 ms
14,012 KB
testcase_20 AC 35 ms
11,440 KB
testcase_21 RE -
testcase_22 RE -
testcase_23 RE -
testcase_24 RE -
testcase_25 AC 20 ms
9,096 KB
testcase_26 AC 61 ms
17,068 KB
testcase_27 AC 17 ms
7,884 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import sqrt
n=int(input())
x=list(map(int,input().split()))
m=int(input())-1
s=sum(x)/n
a=[pow(s-x[i],2) for i in range(n)]
t=sqrt(sum(a)/n)
print(int((x[m]-s)*10/t+50))
0