結果

問題 No.21 平均の差
ユーザー n_knuun_knuu
提出日時 2015-05-13 17:10:47
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 18 ms / 5,000 ms
コード長 92 bytes
コンパイル時間 90 ms
コンパイル使用メモリ 10,700 KB
実行使用メモリ 7,992 KB
最終ジャッジ日時 2023-09-20 07:33:11
合計ジャッジ時間 978 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,828 KB
testcase_01 AC 17 ms
7,884 KB
testcase_02 AC 18 ms
7,988 KB
testcase_03 AC 16 ms
7,788 KB
testcase_04 AC 16 ms
7,836 KB
testcase_05 AC 16 ms
7,872 KB
testcase_06 AC 15 ms
7,832 KB
testcase_07 AC 16 ms
7,796 KB
testcase_08 AC 16 ms
7,992 KB
testcase_09 AC 16 ms
7,940 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N, _ = int(input()), int(input())
n = [int(input()) for _ in range(N)]
print(max(n)-min(n))
0