結果
問題 |
No.275 中央値を求めよ
|
ユーザー |
|
提出日時 | 2016-02-04 14:38:39 |
言語 | Python2 (2.7.18) |
結果 |
RE
|
実行時間 | - |
コード長 | 201 bytes |
コンパイル時間 | 418 ms |
コンパイル使用メモリ | 6,912 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-21 20:30:38 |
合計ジャッジ時間 | 1,561 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 38 |
ソースコード
#coding: utf-8 ##yuki_275 import numpy as np N=int(raw_input()) s=[] s=map(int,raw_input().split()) ls=list(s) lsr=ls[:N] print lsr data = np.array(lsr) median = np.median(data) print str(median)