結果
| 問題 | No.21 平均の差 | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2019-01-16 14:45:07 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 31 ms / 5,000 ms | 
| コード長 | 192 bytes | 
| コンパイル時間 | 383 ms | 
| コンパイル使用メモリ | 12,288 KB | 
| 実行使用メモリ | 10,624 KB | 
| 最終ジャッジ日時 | 2024-06-28 01:08:05 | 
| 合計ジャッジ時間 | 1,437 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 10 | 
ソースコード
# No.21 平均の差
number = int(input())
group_num = input()
math_list = []
for i in range(number):
    math = int(input())
    math_list.append(math)
print(max(math_list) - min(math_list))
            
            
            
        