結果
| 問題 |
No.716 距離
|
| コンテスト | |
| ユーザー |
convexineq
|
| 提出日時 | 2021-03-15 04:23:18 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 43 ms / 2,000 ms |
| コード長 | 122 bytes |
| コンパイル時間 | 226 ms |
| コンパイル使用メモリ | 82,244 KB |
| 実行使用メモリ | 57,088 KB |
| 最終ジャッジ日時 | 2024-11-06 18:17:53 |
| 合計ジャッジ時間 | 3,223 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)
convexineq