結果

問題 No.275 中央値を求めよ
ユーザー EnoEno
提出日時 2021-06-06 16:09:46
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 130 ms / 1,000 ms
コード長 111 bytes
コンパイル時間 75 ms
コンパイル使用メモリ 10,560 KB
実行使用メモリ 30,040 KB
最終ジャッジ日時 2023-08-14 22:01:03
合計ジャッジ時間 6,996 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
29,760 KB
testcase_01 AC 124 ms
29,788 KB
testcase_02 AC 127 ms
29,960 KB
testcase_03 AC 126 ms
29,952 KB
testcase_04 AC 129 ms
29,852 KB
testcase_05 AC 123 ms
29,816 KB
testcase_06 AC 123 ms
29,884 KB
testcase_07 AC 126 ms
29,644 KB
testcase_08 AC 126 ms
29,992 KB
testcase_09 AC 125 ms
29,840 KB
testcase_10 AC 126 ms
29,972 KB
testcase_11 AC 124 ms
29,832 KB
testcase_12 AC 123 ms
29,768 KB
testcase_13 AC 124 ms
29,596 KB
testcase_14 AC 125 ms
29,704 KB
testcase_15 AC 124 ms
29,824 KB
testcase_16 AC 123 ms
30,040 KB
testcase_17 AC 124 ms
29,896 KB
testcase_18 AC 127 ms
29,968 KB
testcase_19 AC 125 ms
29,984 KB
testcase_20 AC 125 ms
29,652 KB
testcase_21 AC 126 ms
29,604 KB
testcase_22 AC 126 ms
29,988 KB
testcase_23 AC 126 ms
29,916 KB
testcase_24 AC 126 ms
29,944 KB
testcase_25 AC 129 ms
29,672 KB
testcase_26 AC 130 ms
29,844 KB
testcase_27 AC 128 ms
29,988 KB
testcase_28 AC 125 ms
29,768 KB
testcase_29 AC 125 ms
29,760 KB
testcase_30 AC 125 ms
29,692 KB
testcase_31 AC 128 ms
29,920 KB
testcase_32 AC 126 ms
29,780 KB
testcase_33 AC 125 ms
29,824 KB
testcase_34 AC 129 ms
29,960 KB
testcase_35 AC 125 ms
29,732 KB
testcase_36 AC 124 ms
29,960 KB
testcase_37 AC 124 ms
30,028 KB
testcase_38 AC 123 ms
29,924 KB
testcase_39 AC 124 ms
29,812 KB
testcase_40 AC 126 ms
29,916 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy as np

n = int(input())
a = list (map(int, input().split()))
mv = (np.percentile(a, 50))
print(mv)
0