結果

問題 No.275 中央値を求めよ
ユーザー Uzuki SaraUzuki Sara
提出日時 2017-06-12 10:18:05
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 150 ms / 1,000 ms
コード長 139 bytes
コンパイル時間 104 ms
コンパイル使用メモリ 10,700 KB
実行使用メモリ 29,944 KB
最終ジャッジ日時 2023-09-07 06:07:25
合計ジャッジ時間 7,841 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 141 ms
29,736 KB
testcase_01 AC 150 ms
29,664 KB
testcase_02 AC 145 ms
29,848 KB
testcase_03 AC 143 ms
29,664 KB
testcase_04 AC 140 ms
29,796 KB
testcase_05 AC 143 ms
29,872 KB
testcase_06 AC 142 ms
29,772 KB
testcase_07 AC 140 ms
29,852 KB
testcase_08 AC 142 ms
29,876 KB
testcase_09 AC 140 ms
29,756 KB
testcase_10 AC 138 ms
29,724 KB
testcase_11 AC 136 ms
29,768 KB
testcase_12 AC 141 ms
29,804 KB
testcase_13 AC 140 ms
29,680 KB
testcase_14 AC 138 ms
29,708 KB
testcase_15 AC 141 ms
29,824 KB
testcase_16 AC 140 ms
29,892 KB
testcase_17 AC 138 ms
29,844 KB
testcase_18 AC 140 ms
29,812 KB
testcase_19 AC 141 ms
29,808 KB
testcase_20 AC 142 ms
29,816 KB
testcase_21 AC 138 ms
29,832 KB
testcase_22 AC 137 ms
29,944 KB
testcase_23 AC 138 ms
29,768 KB
testcase_24 AC 138 ms
29,916 KB
testcase_25 AC 143 ms
29,840 KB
testcase_26 AC 141 ms
29,648 KB
testcase_27 AC 144 ms
29,796 KB
testcase_28 AC 144 ms
29,672 KB
testcase_29 AC 145 ms
29,692 KB
testcase_30 AC 141 ms
29,708 KB
testcase_31 AC 140 ms
29,920 KB
testcase_32 AC 143 ms
29,780 KB
testcase_33 AC 141 ms
29,728 KB
testcase_34 AC 140 ms
29,712 KB
testcase_35 AC 138 ms
29,744 KB
testcase_36 AC 141 ms
29,768 KB
testcase_37 AC 140 ms
29,792 KB
testcase_38 AC 141 ms
29,868 KB
testcase_39 AC 141 ms
29,828 KB
testcase_40 AC 140 ms
29,924 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# coding: utf-8
import numpy as np

a = input()
data = input().split()
data_int = list(map(int, data))

print(np.median(data_int))
0