結果

問題 No.275 中央値を求めよ
ユーザー V.llV.ll
提出日時 2022-10-29 22:36:27
言語 Python3
(3.10.1 + numpy 1.22.3 + scipy 1.8.0)
結果
WA  
実行時間 -
コード長 77 bytes
コンパイル時間 64 ms
使用メモリ 7,736 KB
最終ジャッジ日時 2023-02-09 16:38:16
合計ジャッジ時間 2,416 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 15 ms
7,600 KB
testcase_01 AC 16 ms
7,676 KB
testcase_02 AC 16 ms
7,516 KB
testcase_03 WA -
testcase_04 AC 16 ms
7,648 KB
testcase_05 AC 16 ms
7,512 KB
testcase_06 AC 16 ms
7,684 KB
testcase_07 AC 16 ms
7,688 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 16 ms
7,664 KB
testcase_11 AC 16 ms
7,652 KB
testcase_12 AC 16 ms
7,592 KB
testcase_13 WA -
testcase_14 AC 16 ms
7,524 KB
testcase_15 AC 16 ms
7,596 KB
testcase_16 AC 16 ms
7,640 KB
testcase_17 AC 16 ms
7,632 KB
testcase_18 AC 16 ms
7,552 KB
testcase_19 AC 16 ms
7,608 KB
testcase_20 AC 16 ms
7,712 KB
testcase_21 AC 15 ms
7,700 KB
testcase_22 AC 16 ms
7,712 KB
testcase_23 WA -
testcase_24 AC 15 ms
7,568 KB
testcase_25 AC 16 ms
7,628 KB
testcase_26 WA -
testcase_27 AC 16 ms
7,652 KB
testcase_28 WA -
testcase_29 WA -
testcase_30 WA -
testcase_31 AC 15 ms
7,680 KB
testcase_32 WA -
testcase_33 WA -
testcase_34 WA -
testcase_35 WA -
testcase_36 WA -
testcase_37 AC 16 ms
7,612 KB
testcase_38 AC 15 ms
7,648 KB
testcase_39 AC 15 ms
7,548 KB
testcase_40 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

input();a=sorted(map(int,input().split()));b=len(a)//2;print((a[b]+a[b-1])/2)
0