結果

問題 No.1134 Deviation Score Ⅱ
ユーザー roarisroaris
提出日時 2020-07-29 09:00:31
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 99 ms / 2,000 ms
コード長 267 bytes
コンパイル時間 521 ms
コンパイル使用メモリ 87,120 KB
実行使用メモリ 90,324 KB
最終ジャッジ日時 2023-09-11 07:09:35
合計ジャッジ時間 4,151 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,828 KB
testcase_01 AC 92 ms
88,468 KB
testcase_02 AC 88 ms
84,180 KB
testcase_03 AC 92 ms
86,788 KB
testcase_04 AC 85 ms
79,996 KB
testcase_05 AC 95 ms
88,480 KB
testcase_06 AC 83 ms
78,492 KB
testcase_07 AC 81 ms
77,220 KB
testcase_08 AC 91 ms
87,012 KB
testcase_09 AC 80 ms
76,716 KB
testcase_10 AC 79 ms
76,692 KB
testcase_11 AC 90 ms
84,196 KB
testcase_12 AC 91 ms
83,172 KB
testcase_13 AC 97 ms
90,200 KB
testcase_14 AC 92 ms
84,432 KB
testcase_15 AC 86 ms
80,696 KB
testcase_16 AC 82 ms
77,660 KB
testcase_17 AC 88 ms
83,040 KB
testcase_18 AC 90 ms
84,512 KB
testcase_19 AC 94 ms
86,768 KB
testcase_20 AC 86 ms
81,428 KB
testcase_21 AC 90 ms
85,828 KB
testcase_22 AC 91 ms
85,744 KB
testcase_23 AC 74 ms
71,520 KB
testcase_24 AC 74 ms
71,472 KB
testcase_25 AC 79 ms
76,984 KB
testcase_26 AC 99 ms
90,324 KB
testcase_27 AC 74 ms
71,720 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