結果

問題 No.21 平均の差
ユーザー RadPeria
提出日時 2017-12-09 01:22:46
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 152 bytes
コンパイル時間 82 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-11-29 20:44:08
合計ジャッジ時間 1,005 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 8 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

N=input()
K=input()
n=[];ans=[]
for i in range(int(N)):
    n.append(input())
n.sort()
low = int(n[0])
high = int(n[int(N)-1])
print(high-low)
0