結果

問題 No.275 中央値を求めよ
ユーザー akasatananana
提出日時 2019-09-19 14:16:19
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 136 bytes
コンパイル時間 70 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-07-19 04:51:27
合計ジャッジ時間 2,122 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 4 WA * 30 RE * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

a=int(input())
b=[int(i) for i in input().split()]
c=0
del b[b.index(max(b))]
del b[b.index(min(b))]
for i in b:
    c+=i
print(c/(a-2))
0