結果

問題 No.1134 Deviation Score Ⅱ
ユーザー hiragn
提出日時 2022-11-22 16:57:31
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 251 bytes
コンパイル時間 133 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 47,376 KB
最終ジャッジ日時 2024-09-23 02:36:55
合計ジャッジ時間 16,718 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 1
other WA * 27
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy as np


def main():
    _ = int(input())
    x = np.array(list(map(int, input().split())))
    m = int(input())

    ans = np.round_(50 + 10 * (x - np.average(x)) / np.std(x))
    print(ans[m - 1])


if __name__ == "__main__":
    main()
0