結果

問題 No.1134 Deviation Score Ⅱ
ユーザー roarisroaris
提出日時 2020-07-27 22:30:26
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 266 bytes
コンパイル時間 340 ms
コンパイル使用メモリ 87,296 KB
実行使用メモリ 89,852 KB
最終ジャッジ日時 2023-09-11 07:00:28
合計ジャッジ時間 4,295 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,784 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 84 ms
79,608 KB
testcase_05 WA -
testcase_06 AC 81 ms
78,236 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 80 ms
76,952 KB
testcase_10 AC 79 ms
76,764 KB
testcase_11 AC 90 ms
83,928 KB
testcase_12 WA -
testcase_13 AC 98 ms
89,484 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 83 ms
77,556 KB
testcase_17 AC 88 ms
82,656 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 RE -
testcase_22 RE -
testcase_23 RE -
testcase_24 RE -
testcase_25 WA -
testcase_26 WA -
testcase_27 AC 76 ms
71,568 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline

N = int(input())
x = list(map(int, input().split()))
M = int(input())-1
ave = sum(x)/N
var = sum((xi-ave)**2 for xi in x)/N
sigma = var**0.5
d = (x[M]-ave)*10/sigma

if x[M]>=ave:
    print(int(50+d))
else:
    print(int(50-d))
0