結果
問題 | No.21 平均の差 |
ユーザー | supepepe |
提出日時 | 2019-01-25 15:30:43 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 202 bytes |
コンパイル時間 | 230 ms |
コンパイル使用メモリ | 10,692 KB |
実行使用メモリ | 7,912 KB |
最終ジャッジ日時 | 2023-10-14 09:50:42 |
合計ジャッジ時間 | 1,015 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 15 ms
7,848 KB |
testcase_01 | AC | 14 ms
7,812 KB |
testcase_02 | AC | 13 ms
7,768 KB |
testcase_03 | AC | 13 ms
7,772 KB |
testcase_04 | AC | 13 ms
7,812 KB |
testcase_05 | AC | 12 ms
7,912 KB |
testcase_06 | WA | - |
testcase_07 | AC | 13 ms
7,784 KB |
testcase_08 | AC | 13 ms
7,852 KB |
testcase_09 | WA | - |
ソースコード
# -*- coding: utf-8 -*- n = int(input()) k = input() number_list = [input() for i in range(n)] min_num = int(min(number_list)) max_num = int(max(number_list)) answer = max_num - min_num print(answer)