結果

問題 No.275 中央値を求めよ
ユーザー ynishimuraynishimura
提出日時 2020-08-13 15:17:54
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 141 ms / 1,000 ms
コード長 140 bytes
コンパイル時間 209 ms
コンパイル使用メモリ 10,588 KB
実行使用メモリ 30,064 KB
最終ジャッジ日時 2023-07-31 00:25:17
合計ジャッジ時間 7,530 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 140 ms
29,768 KB
testcase_01 AC 140 ms
29,836 KB
testcase_02 AC 139 ms
29,748 KB
testcase_03 AC 141 ms
29,632 KB
testcase_04 AC 141 ms
29,776 KB
testcase_05 AC 140 ms
29,788 KB
testcase_06 AC 139 ms
29,732 KB
testcase_07 AC 140 ms
29,864 KB
testcase_08 AC 140 ms
29,760 KB
testcase_09 AC 141 ms
29,820 KB
testcase_10 AC 139 ms
29,780 KB
testcase_11 AC 141 ms
29,696 KB
testcase_12 AC 141 ms
29,768 KB
testcase_13 AC 139 ms
29,644 KB
testcase_14 AC 140 ms
29,808 KB
testcase_15 AC 140 ms
29,700 KB
testcase_16 AC 138 ms
29,932 KB
testcase_17 AC 139 ms
30,064 KB
testcase_18 AC 138 ms
29,736 KB
testcase_19 AC 136 ms
29,756 KB
testcase_20 AC 140 ms
29,808 KB
testcase_21 AC 139 ms
29,840 KB
testcase_22 AC 138 ms
29,840 KB
testcase_23 AC 137 ms
29,716 KB
testcase_24 AC 137 ms
29,868 KB
testcase_25 AC 138 ms
29,704 KB
testcase_26 AC 138 ms
29,748 KB
testcase_27 AC 137 ms
29,744 KB
testcase_28 AC 135 ms
29,676 KB
testcase_29 AC 137 ms
29,684 KB
testcase_30 AC 134 ms
29,764 KB
testcase_31 AC 138 ms
29,840 KB
testcase_32 AC 136 ms
29,640 KB
testcase_33 AC 139 ms
29,728 KB
testcase_34 AC 138 ms
29,760 KB
testcase_35 AC 139 ms
29,704 KB
testcase_36 AC 137 ms
29,724 KB
testcase_37 AC 136 ms
29,728 KB
testcase_38 AC 135 ms
29,828 KB
testcase_39 AC 137 ms
29,724 KB
testcase_40 AC 138 ms
29,780 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy as np

N = int(input().strip())
L = list(map(int, input().split()))

data = np.array(L)
median = np.median(data)
print(median)
0