結果

問題 No.1134 Deviation Score Ⅱ
ユーザー kikagekikage
提出日時 2021-08-16 16:51:20
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 555 ms / 2,000 ms
コード長 166 bytes
コンパイル時間 154 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 46,792 KB
最終ジャッジ日時 2024-04-17 20:00:55
合計ジャッジ時間 16,414 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 535 ms
44,160 KB
testcase_01 AC 555 ms
45,992 KB
testcase_02 AC 550 ms
44,936 KB
testcase_03 AC 547 ms
45,580 KB
testcase_04 AC 521 ms
43,924 KB
testcase_05 AC 528 ms
45,968 KB
testcase_06 AC 491 ms
44,180 KB
testcase_07 AC 474 ms
44,296 KB
testcase_08 AC 523 ms
45,456 KB
testcase_09 AC 539 ms
44,300 KB
testcase_10 AC 538 ms
44,052 KB
testcase_11 AC 550 ms
45,080 KB
testcase_12 AC 539 ms
44,948 KB
testcase_13 AC 518 ms
46,352 KB
testcase_14 AC 466 ms
44,808 KB
testcase_15 AC 474 ms
44,300 KB
testcase_16 AC 483 ms
43,924 KB
testcase_17 AC 499 ms
45,072 KB
testcase_18 AC 509 ms
44,692 KB
testcase_19 AC 508 ms
45,452 KB
testcase_20 AC 490 ms
44,172 KB
testcase_21 AC 486 ms
45,588 KB
testcase_22 AC 493 ms
43,920 KB
testcase_23 AC 470 ms
44,048 KB
testcase_24 AC 483 ms
44,176 KB
testcase_25 AC 500 ms
44,168 KB
testcase_26 AC 511 ms
46,792 KB
testcase_27 AC 477 ms
43,920 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy as np

N=int(input())
X=np.array(list(map(int,input().split())))
M=int(input())
s=np.std(X)
if s==0:P=50
else:P=int(50+10*(X[M-1]-np.mean(X))/s)
print(P)
0