結果

問題 No.275 中央値を求めよ
ユーザー mimimimimimi
提出日時 2023-02-18 16:03:44
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 514 ms / 1,000 ms
コード長 107 bytes
コンパイル時間 94 ms
コンパイル使用メモリ 10,512 KB
実行使用メモリ 52,412 KB
最終ジャッジ日時 2023-09-27 07:54:07
合計ジャッジ時間 9,142 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 514 ms
29,520 KB
testcase_01 AC 116 ms
29,612 KB
testcase_02 AC 113 ms
29,776 KB
testcase_03 AC 119 ms
29,660 KB
testcase_04 AC 119 ms
29,748 KB
testcase_05 AC 124 ms
29,768 KB
testcase_06 AC 122 ms
29,848 KB
testcase_07 AC 127 ms
29,828 KB
testcase_08 AC 125 ms
29,872 KB
testcase_09 AC 122 ms
29,764 KB
testcase_10 AC 120 ms
29,792 KB
testcase_11 AC 123 ms
29,672 KB
testcase_12 AC 122 ms
29,676 KB
testcase_13 AC 123 ms
29,720 KB
testcase_14 AC 122 ms
29,780 KB
testcase_15 AC 121 ms
29,804 KB
testcase_16 AC 122 ms
29,780 KB
testcase_17 AC 122 ms
29,876 KB
testcase_18 AC 124 ms
29,980 KB
testcase_19 AC 122 ms
29,920 KB
testcase_20 AC 124 ms
29,740 KB
testcase_21 AC 121 ms
29,652 KB
testcase_22 AC 118 ms
29,684 KB
testcase_23 AC 118 ms
29,700 KB
testcase_24 AC 115 ms
29,796 KB
testcase_25 AC 121 ms
29,772 KB
testcase_26 AC 118 ms
29,632 KB
testcase_27 AC 120 ms
29,792 KB
testcase_28 AC 118 ms
29,684 KB
testcase_29 AC 118 ms
29,824 KB
testcase_30 AC 116 ms
29,772 KB
testcase_31 AC 117 ms
29,724 KB
testcase_32 AC 118 ms
29,636 KB
testcase_33 AC 121 ms
29,816 KB
testcase_34 AC 118 ms
29,672 KB
testcase_35 AC 119 ms
29,736 KB
testcase_36 AC 119 ms
29,608 KB
testcase_37 AC 117 ms
29,704 KB
testcase_38 AC 122 ms
29,712 KB
testcase_39 AC 123 ms
29,752 KB
testcase_40 AC 123 ms
52,412 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy as np
n = int(input())
A = list(map(int, input().split()))
A = np.array(A)
print(np.median(A))
0