結果
問題 |
No.609 Noelちゃんと星々
|
ユーザー |
|
提出日時 | 2017-12-09 09:13:30 |
言語 | Python2 (2.7.18) |
結果 |
RE
|
実行時間 | - |
コード長 | 157 bytes |
コンパイル時間 | 49 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-11-30 02:10:13 |
合計ジャッジ時間 | 1,320 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 25 |
ソースコード
#yuki_609 import numpy as np n=int(raw_input()) y=map(int,raw_input().split()) med=np.median(y) res=0 for i in xrange(n): res+=abs(y[i]-int(med)) print res