結果

問題 No.1134 Deviation Score Ⅱ
ユーザー rythem00359rythem00359
提出日時 2020-08-13 09:41:27
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 204 bytes
コンパイル時間 231 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 46,736 KB
最終ジャッジ日時 2024-04-18 01:22:42
合計ジャッジ時間 18,909 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 553 ms
43,916 KB
testcase_01 AC 649 ms
45,816 KB
testcase_02 AC 618 ms
44,936 KB
testcase_03 AC 643 ms
45,312 KB
testcase_04 AC 592 ms
44,044 KB
testcase_05 AC 653 ms
45,844 KB
testcase_06 AC 592 ms
44,128 KB
testcase_07 AC 571 ms
43,916 KB
testcase_08 AC 631 ms
45,068 KB
testcase_09 AC 576 ms
44,164 KB
testcase_10 AC 565 ms
44,044 KB
testcase_11 AC 624 ms
44,956 KB
testcase_12 AC 628 ms
44,684 KB
testcase_13 AC 678 ms
45,968 KB
testcase_14 AC 636 ms
45,068 KB
testcase_15 AC 606 ms
43,912 KB
testcase_16 AC 590 ms
43,920 KB
testcase_17 AC 621 ms
44,936 KB
testcase_18 AC 631 ms
44,556 KB
testcase_19 AC 655 ms
45,452 KB
testcase_20 AC 605 ms
44,172 KB
testcase_21 RE -
testcase_22 RE -
testcase_23 RE -
testcase_24 RE -
testcase_25 AC 565 ms
44,300 KB
testcase_26 AC 672 ms
46,736 KB
testcase_27 AC 556 ms
44,172 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
import numpy
N=int(input())
x=numpy.array([*map(int, input().split())])
M=int(input())
mae=0
ave=numpy.mean(x)
for i in x:
    mae+=pow(ave-i,2)/N
print(int((x[M-1]-ave)*10/math.sqrt(mae)+50))
0