結果

問題 No.1134 Deviation Score Ⅱ
ユーザー rythem00359rythem00359
提出日時 2020-08-13 10:02:27
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 157 bytes
コンパイル時間 87 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 17,892 KB
最終ジャッジ日時 2024-04-18 01:23:34
合計ジャッジ時間 2,265 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
10,752 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 45 ms
12,876 KB
testcase_05 WA -
testcase_06 AC 39 ms
12,160 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 35 ms
11,648 KB
testcase_10 AC 29 ms
10,752 KB
testcase_11 AC 60 ms
14,464 KB
testcase_12 WA -
testcase_13 AC 74 ms
16,836 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 36 ms
11,904 KB
testcase_17 AC 58 ms
14,276 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 66 ms
16,164 KB
testcase_22 AC 57 ms
14,156 KB
testcase_23 AC 28 ms
10,624 KB
testcase_24 AC 28 ms
10,624 KB
testcase_25 AC 33 ms
11,392 KB
testcase_26 AC 81 ms
17,892 KB
testcase_27 AC 27 ms
10,624 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
x=[*map(int, input().split())]
M=int(input())
a=sum(x)/N
m=(sum([(b-a)**2 for b in x])/N)**0.5 
print(50 if m==0 else int((x[M-1]-a)*10/m)+50)
0