結果
| 問題 | No.716 距離 | 
| コンテスト | |
| ユーザー |  convexineq | 
| 提出日時 | 2021-03-15 04:23:18 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 42 ms / 2,000 ms | 
| コード長 | 122 bytes | 
| コンパイル時間 | 318 ms | 
| コンパイル使用メモリ | 82,428 KB | 
| 実行使用メモリ | 59,000 KB | 
| 最終ジャッジ日時 | 2024-11-06 18:17:57 | 
| 合計ジャッジ時間 | 2,864 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 40 | 
ソースコード
n = int(input()) *a, = map(int,input().split()) M = max(a) - min(a) m = min(i-j for i,j in zip(a[1:],a)) print(m) print(M)
