結果

問題 No.21 平均の差
ユーザー brthyyjpbrthyyjp
提出日時 2020-11-16 10:31:35
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 67 ms / 5,000 ms
コード長 103 bytes
コンパイル時間 306 ms
コンパイル使用メモリ 86,840 KB
実行使用メモリ 71,560 KB
最終ジャッジ日時 2023-09-30 07:12:32
合計ジャッジ時間 1,603 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
71,284 KB
testcase_01 AC 63 ms
71,312 KB
testcase_02 AC 61 ms
71,328 KB
testcase_03 AC 67 ms
71,244 KB
testcase_04 AC 60 ms
71,276 KB
testcase_05 AC 63 ms
71,280 KB
testcase_06 AC 63 ms
71,560 KB
testcase_07 AC 63 ms
71,088 KB
testcase_08 AC 63 ms
71,440 KB
testcase_09 AC 64 ms
71,276 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
k = int(input())
A = [int(input()) for _ in range(n)]

ans = max(A)-min(A)
print(ans)
0