結果
問題 | No.21 平均の差 |
ユーザー |
|
提出日時 | 2023-07-18 23:59:42 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 43 ms / 5,000 ms |
コード長 | 123 bytes |
コンパイル時間 | 221 ms |
コンパイル使用メモリ | 82,196 KB |
実行使用メモリ | 53,772 KB |
最終ジャッジ日時 | 2024-09-18 23:19:12 |
合計ジャッジ時間 | 1,364 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
ソースコード
n = int(input()) k = int(input()) l = [] for i in range(n): t = int(input()) l.append(t) l.sort() print(l[-1]-l[0])