結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 523 ms
44,272 KB
testcase_01 AC 531 ms
44,024 KB
testcase_02 AC 535 ms
44,292 KB
testcase_03 AC 523 ms
44,416 KB
testcase_04 AC 530 ms
44,152 KB
testcase_05 AC 534 ms
44,408 KB
testcase_06 AC 530 ms
44,416 KB
testcase_07 AC 533 ms
44,412 KB
testcase_08 AC 537 ms
44,532 KB
testcase_09 AC 527 ms
44,412 KB
testcase_10 AC 533 ms
44,032 KB
testcase_11 AC 538 ms
43,892 KB
testcase_12 AC 560 ms
44,288 KB
testcase_13 AC 563 ms
44,284 KB
testcase_14 AC 557 ms
44,392 KB
testcase_15 AC 567 ms
43,904 KB
testcase_16 AC 554 ms
44,272 KB
testcase_17 AC 544 ms
43,892 KB
testcase_18 AC 551 ms
44,416 KB
testcase_19 AC 531 ms
43,900 KB
testcase_20 AC 543 ms
44,012 KB
testcase_21 AC 545 ms
44,012 KB
testcase_22 AC 566 ms
43,888 KB
testcase_23 AC 556 ms
44,284 KB
testcase_24 AC 557 ms
44,008 KB
testcase_25 AC 545 ms
43,884 KB
testcase_26 AC 540 ms
44,396 KB
testcase_27 AC 536 ms
44,148 KB
testcase_28 AC 537 ms
44,148 KB
testcase_29 AC 529 ms
44,012 KB
testcase_30 AC 522 ms
44,292 KB
testcase_31 AC 531 ms
44,032 KB
testcase_32 AC 535 ms
44,032 KB
testcase_33 AC 565 ms
43,948 KB
testcase_34 AC 562 ms
44,540 KB
testcase_35 AC 558 ms
44,292 KB
testcase_36 AC 552 ms
43,904 KB
testcase_37 AC 556 ms
44,272 KB
testcase_38 AC 552 ms
44,032 KB
testcase_39 AC 566 ms
44,400 KB
testcase_40 AC 569 ms
44,416 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy as np

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

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