結果
| 問題 |
No.716 距離
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-07-29 16:51:52 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 152 bytes |
| コンパイル時間 | 89 ms |
| コンパイル使用メモリ | 12,800 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2024-07-18 03:37:06 |
| 合計ジャッジ時間 | 2,651 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 40 |
ソースコード
N = int(input())
a = [int(c) for c in input().split()]
dist = 1<<30
for i in range(N-1):
dist = min(min, a[i+1]-a[i])
print(dist)
print(a[N-1]-a[0])