結果
| 問題 |
No.21 平均の差
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-06-19 16:26:43 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 38 ms / 5,000 ms |
| コード長 | 143 bytes |
| コンパイル時間 | 136 ms |
| コンパイル使用メモリ | 82,404 KB |
| 実行使用メモリ | 53,640 KB |
| 最終ジャッジ日時 | 2024-06-22 22:09:01 |
| 合計ジャッジ時間 | 992 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
inpl = lambda: list(map(int,input().split())) N = int(input()) K = int(input()) n = sorted([int(input()) for _ in range(N)]) print(n[-1]-n[0])