結果

問題 No.275 中央値を求めよ
ユーザー 8080
提出日時 2020-03-08 16:11:07
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 495 ms / 1,000 ms
コード長 93 bytes
コンパイル時間 370 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 44,668 KB
最終ジャッジ日時 2024-04-24 22:42:35
合計ジャッジ時間 22,979 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 486 ms
44,136 KB
testcase_01 AC 493 ms
44,540 KB
testcase_02 AC 495 ms
44,016 KB
testcase_03 AC 494 ms
44,408 KB
testcase_04 AC 485 ms
44,552 KB
testcase_05 AC 493 ms
44,408 KB
testcase_06 AC 486 ms
44,264 KB
testcase_07 AC 484 ms
44,036 KB
testcase_08 AC 486 ms
44,404 KB
testcase_09 AC 487 ms
43,912 KB
testcase_10 AC 484 ms
44,036 KB
testcase_11 AC 491 ms
44,400 KB
testcase_12 AC 478 ms
44,416 KB
testcase_13 AC 481 ms
44,016 KB
testcase_14 AC 479 ms
43,888 KB
testcase_15 AC 493 ms
44,540 KB
testcase_16 AC 482 ms
44,268 KB
testcase_17 AC 493 ms
44,268 KB
testcase_18 AC 484 ms
44,028 KB
testcase_19 AC 492 ms
44,416 KB
testcase_20 AC 476 ms
44,060 KB
testcase_21 AC 482 ms
43,896 KB
testcase_22 AC 476 ms
44,148 KB
testcase_23 AC 486 ms
44,408 KB
testcase_24 AC 488 ms
44,036 KB
testcase_25 AC 487 ms
44,028 KB
testcase_26 AC 480 ms
44,068 KB
testcase_27 AC 487 ms
44,272 KB
testcase_28 AC 477 ms
44,024 KB
testcase_29 AC 481 ms
43,900 KB
testcase_30 AC 487 ms
44,408 KB
testcase_31 AC 485 ms
44,040 KB
testcase_32 AC 475 ms
44,288 KB
testcase_33 AC 483 ms
43,908 KB
testcase_34 AC 479 ms
44,540 KB
testcase_35 AC 487 ms
44,280 KB
testcase_36 AC 479 ms
44,412 KB
testcase_37 AC 489 ms
44,668 KB
testcase_38 AC 477 ms
44,036 KB
testcase_39 AC 483 ms
44,520 KB
testcase_40 AC 474 ms
44,036 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy as np

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

print(np.median(A))
0