結果
| 問題 | No.21 平均の差 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-09-15 18:01:44 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 95 ms / 5,000 ms |
| コード長 | 348 bytes |
| 記録 | |
| コンパイル時間 | 512 ms |
| コンパイル使用メモリ | 20,956 KB |
| 実行使用メモリ | 36,312 KB |
| 最終ジャッジ日時 | 2026-04-02 14:51:58 |
| 合計ジャッジ時間 | 1,860 ms |
|
ジャッジサーバーID (参考情報) |
judge4_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
#!/usr/bin/python3
# This problelm is http://yukicoder.me/problems/67
first_line = input()
second_line = input()
numbers_length = int(first_line)
groups_length = int(second_line)
lines = []
numbers = []
for i in range(numbers_length):
lines.append(input())
numbers.append(int(lines[i]))
print(max(numbers) - min(numbers))