結果
| 問題 |
No.135 とりあえず1次元の問題
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-09-11 16:42:24 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 289 bytes |
| コンパイル時間 | 98 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 25,300 KB |
| 最終ジャッジ日時 | 2024-12-26 04:23:56 |
| 合計ジャッジ時間 | 2,121 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 2 WA * 19 RE * 1 |
ソースコード
# coding=UTF-8
# import statistics
n = int(input())
l = list(map(int, input().split()))
s_l = set(l)
num_list = list(s_l)
pointA = list(num_list[:len(s_l)])
pointB = list(num_list[1:])
mile_list = list()
for i, j in zip(pointA, pointB):
mile_list.append(abs(i-j))
print(mile_list[-1])