結果

問題 No.1134 Deviation Score Ⅱ
ユーザー hiragnhiragn
提出日時 2022-11-22 16:58:42
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 256 bytes
コンパイル時間 97 ms
コンパイル使用メモリ 11,840 KB
実行使用メモリ 47,944 KB
最終ジャッジ日時 2023-10-24 10:10:55
合計ジャッジ時間 15,131 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 462 ms
42,340 KB
testcase_01 WA -
testcase_02 AC 477 ms
45,304 KB
testcase_03 AC 482 ms
46,096 KB
testcase_04 WA -
testcase_05 AC 498 ms
46,624 KB
testcase_06 AC 478 ms
42,928 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 459 ms
42,340 KB
testcase_11 AC 474 ms
45,040 KB
testcase_12 AC 476 ms
45,040 KB
testcase_13 AC 491 ms
47,152 KB
testcase_14 AC 503 ms
45,040 KB
testcase_15 WA -
testcase_16 AC 466 ms
42,416 KB
testcase_17 AC 479 ms
45,040 KB
testcase_18 AC 482 ms
45,304 KB
testcase_19 AC 492 ms
46,360 KB
testcase_20 WA -
testcase_21 RE -
testcase_22 RE -
testcase_23 RE -
testcase_24 RE -
testcase_25 WA -
testcase_26 AC 491 ms
47,944 KB
testcase_27 AC 469 ms
42,340 KB
権限があれば一括ダウンロードができます

ソースコード

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(int(ans[m - 1]))


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