結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 129 ms
29,888 KB
testcase_01 AC 132 ms
29,728 KB
testcase_02 AC 131 ms
29,732 KB
testcase_03 AC 139 ms
29,792 KB
testcase_04 AC 135 ms
29,792 KB
testcase_05 AC 139 ms
29,892 KB
testcase_06 AC 138 ms
29,848 KB
testcase_07 AC 138 ms
29,976 KB
testcase_08 AC 139 ms
29,744 KB
testcase_09 AC 139 ms
29,860 KB
testcase_10 AC 133 ms
29,748 KB
testcase_11 AC 135 ms
29,760 KB
testcase_12 AC 135 ms
29,808 KB
testcase_13 AC 134 ms
29,776 KB
testcase_14 AC 135 ms
29,884 KB
testcase_15 AC 139 ms
29,900 KB
testcase_16 AC 137 ms
29,884 KB
testcase_17 AC 137 ms
29,964 KB
testcase_18 AC 135 ms
29,908 KB
testcase_19 AC 135 ms
29,696 KB
testcase_20 AC 135 ms
29,792 KB
testcase_21 AC 135 ms
29,856 KB
testcase_22 AC 133 ms
29,920 KB
testcase_23 AC 135 ms
29,696 KB
testcase_24 AC 134 ms
29,892 KB
testcase_25 AC 135 ms
29,768 KB
testcase_26 AC 136 ms
29,712 KB
testcase_27 AC 136 ms
29,876 KB
testcase_28 AC 131 ms
29,668 KB
testcase_29 AC 134 ms
29,804 KB
testcase_30 AC 133 ms
29,752 KB
testcase_31 AC 139 ms
29,892 KB
testcase_32 AC 134 ms
29,716 KB
testcase_33 AC 135 ms
29,696 KB
testcase_34 AC 134 ms
29,752 KB
testcase_35 AC 133 ms
29,712 KB
testcase_36 AC 132 ms
29,700 KB
testcase_37 AC 133 ms
29,808 KB
testcase_38 AC 134 ms
29,860 KB
testcase_39 AC 132 ms
29,812 KB
testcase_40 AC 134 ms
29,844 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy as np

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

print(round(np.median(A),1))
0