結果

問題 No.275 中央値を求めよ
ユーザー 8080
提出日時 2020-03-08 16:11:07
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 136 ms / 1,000 ms
コード長 93 bytes
コンパイル時間 309 ms
コンパイル使用メモリ 10,648 KB
実行使用メモリ 29,976 KB
最終ジャッジ日時 2023-08-07 04:25:47
合計ジャッジ時間 8,815 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 134 ms
29,640 KB
testcase_01 AC 131 ms
29,632 KB
testcase_02 AC 131 ms
29,684 KB
testcase_03 AC 131 ms
29,584 KB
testcase_04 AC 132 ms
29,848 KB
testcase_05 AC 130 ms
29,844 KB
testcase_06 AC 132 ms
29,796 KB
testcase_07 AC 132 ms
29,820 KB
testcase_08 AC 129 ms
29,752 KB
testcase_09 AC 131 ms
29,736 KB
testcase_10 AC 133 ms
29,852 KB
testcase_11 AC 132 ms
29,736 KB
testcase_12 AC 134 ms
29,672 KB
testcase_13 AC 130 ms
29,620 KB
testcase_14 AC 131 ms
29,840 KB
testcase_15 AC 130 ms
29,944 KB
testcase_16 AC 131 ms
29,824 KB
testcase_17 AC 135 ms
29,836 KB
testcase_18 AC 134 ms
29,788 KB
testcase_19 AC 134 ms
29,764 KB
testcase_20 AC 134 ms
29,976 KB
testcase_21 AC 132 ms
29,804 KB
testcase_22 AC 131 ms
29,840 KB
testcase_23 AC 133 ms
29,756 KB
testcase_24 AC 131 ms
29,756 KB
testcase_25 AC 133 ms
29,944 KB
testcase_26 AC 133 ms
29,760 KB
testcase_27 AC 133 ms
29,828 KB
testcase_28 AC 131 ms
29,684 KB
testcase_29 AC 133 ms
29,764 KB
testcase_30 AC 134 ms
29,628 KB
testcase_31 AC 135 ms
29,920 KB
testcase_32 AC 136 ms
29,692 KB
testcase_33 AC 132 ms
29,756 KB
testcase_34 AC 133 ms
29,628 KB
testcase_35 AC 134 ms
29,832 KB
testcase_36 AC 133 ms
29,688 KB
testcase_37 AC 133 ms
29,904 KB
testcase_38 AC 134 ms
29,808 KB
testcase_39 AC 135 ms
29,796 KB
testcase_40 AC 132 ms
29,820 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy as np

N = int(input())
A = list(map(int,input().split()))

print(np.median(A))
0