結果

問題 No.1134 Deviation Score Ⅱ
ユーザー roarisroaris
提出日時 2020-07-29 08:58:00
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 265 bytes
コンパイル時間 673 ms
コンパイル使用メモリ 87,052 KB
実行使用メモリ 89,564 KB
最終ジャッジ日時 2023-09-11 07:09:25
合計ジャッジ時間 4,628 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,944 KB
testcase_01 AC 95 ms
87,612 KB
testcase_02 AC 90 ms
83,608 KB
testcase_03 AC 93 ms
86,208 KB
testcase_04 AC 88 ms
79,592 KB
testcase_05 AC 96 ms
87,652 KB
testcase_06 AC 83 ms
78,280 KB
testcase_07 AC 83 ms
77,000 KB
testcase_08 AC 91 ms
86,164 KB
testcase_09 AC 81 ms
76,880 KB
testcase_10 AC 80 ms
77,060 KB
testcase_11 AC 89 ms
83,900 KB
testcase_12 AC 89 ms
82,916 KB
testcase_13 AC 97 ms
89,552 KB
testcase_14 AC 90 ms
83,860 KB
testcase_15 AC 86 ms
80,352 KB
testcase_16 AC 84 ms
77,512 KB
testcase_17 AC 89 ms
82,664 KB
testcase_18 AC 89 ms
83,876 KB
testcase_19 AC 92 ms
86,204 KB
testcase_20 AC 86 ms
80,856 KB
testcase_21 RE -
testcase_22 RE -
testcase_23 RE -
testcase_24 RE -
testcase_25 AC 79 ms
76,912 KB
testcase_26 AC 96 ms
89,564 KB
testcase_27 AC 72 ms
71,400 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline

N = int(input())
x = list(map(int, input().split()))
M = int(input())-1

if x==x[0]*N:
    print(50)
    exit()
    
ave = sum(x)/N
var = sum((xi-ave)**2 for xi in x)/N
sigma = var**0.5
d = (x[M]-ave)*10/sigma
print(int(50+d))
0