結果

問題 No.275 中央値を求めよ
ユーザー ynishimuraynishimura
提出日時 2020-08-13 15:17:54
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 478 ms / 1,000 ms
コード長 140 bytes
コンパイル時間 147 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 44,680 KB
最終ジャッジ日時 2024-04-18 01:33:07
合計ジャッジ時間 19,895 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 437 ms
44,032 KB
testcase_01 AC 436 ms
44,032 KB
testcase_02 AC 439 ms
44,548 KB
testcase_03 AC 447 ms
44,540 KB
testcase_04 AC 461 ms
43,900 KB
testcase_05 AC 451 ms
44,404 KB
testcase_06 AC 447 ms
44,032 KB
testcase_07 AC 437 ms
44,268 KB
testcase_08 AC 447 ms
43,900 KB
testcase_09 AC 434 ms
44,292 KB
testcase_10 AC 430 ms
44,416 KB
testcase_11 AC 436 ms
44,168 KB
testcase_12 AC 437 ms
44,140 KB
testcase_13 AC 450 ms
44,416 KB
testcase_14 AC 454 ms
44,152 KB
testcase_15 AC 436 ms
44,544 KB
testcase_16 AC 448 ms
44,028 KB
testcase_17 AC 449 ms
44,280 KB
testcase_18 AC 430 ms
44,420 KB
testcase_19 AC 432 ms
44,028 KB
testcase_20 AC 433 ms
44,044 KB
testcase_21 AC 432 ms
44,272 KB
testcase_22 AC 433 ms
44,400 KB
testcase_23 AC 478 ms
43,884 KB
testcase_24 AC 449 ms
44,032 KB
testcase_25 AC 448 ms
44,672 KB
testcase_26 AC 453 ms
43,908 KB
testcase_27 AC 473 ms
44,160 KB
testcase_28 AC 467 ms
44,424 KB
testcase_29 AC 456 ms
43,892 KB
testcase_30 AC 450 ms
44,680 KB
testcase_31 AC 429 ms
44,028 KB
testcase_32 AC 435 ms
44,396 KB
testcase_33 AC 431 ms
44,404 KB
testcase_34 AC 430 ms
44,528 KB
testcase_35 AC 433 ms
44,676 KB
testcase_36 AC 436 ms
44,148 KB
testcase_37 AC 436 ms
43,904 KB
testcase_38 AC 444 ms
44,036 KB
testcase_39 AC 443 ms
44,408 KB
testcase_40 AC 448 ms
43,912 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