結果

問題 No.21 平均の差
ユーザー RadPeriaRadPeria
提出日時 2017-12-09 01:22:46
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 152 bytes
コンパイル時間 153 ms
コンパイル使用メモリ 10,720 KB
実行使用メモリ 7,988 KB
最終ジャッジ日時 2023-08-19 23:18:27
合計ジャッジ時間 992 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,968 KB
testcase_01 AC 14 ms
7,860 KB
testcase_02 AC 15 ms
7,912 KB
testcase_03 AC 14 ms
7,864 KB
testcase_04 AC 15 ms
7,956 KB
testcase_05 AC 14 ms
7,844 KB
testcase_06 WA -
testcase_07 AC 14 ms
7,788 KB
testcase_08 AC 15 ms
7,864 KB
testcase_09 WA -
権限があれば一括ダウンロードができます

ソースコード

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