結果

問題 No.21 平均の差
ユーザー liny_tail
提出日時 2020-01-12 22:22:52
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 158 bytes
コンパイル時間 94 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,496 KB
最終ジャッジ日時 2024-11-30 16:03:28
合計ジャッジ時間 984 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other RE * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(raw_input().strip())
K = int(raw_input().strip())

n = []
for i in range(N):
  n.append(int(raw_input().strip()))

n = sorted(n)

print(n[-1] - n[0])
0