結果

問題 No.135 とりあえず1次元の問題
ユーザー MarioMario
提出日時 2018-04-30 11:42:59
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 134 bytes
コンパイル時間 114 ms
コンパイル使用メモリ 10,652 KB
実行使用メモリ 24,224 KB
最終ジャッジ日時 2023-09-10 08:22:03
合計ジャッジ時間 1,912 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 78 ms
24,208 KB
testcase_01 AC 15 ms
7,720 KB
testcase_02 AC 15 ms
7,748 KB
testcase_03 RE -
testcase_04 AC 15 ms
7,776 KB
testcase_05 AC 15 ms
7,736 KB
testcase_06 AC 15 ms
7,864 KB
testcase_07 AC 15 ms
7,780 KB
testcase_08 AC 15 ms
7,860 KB
testcase_09 AC 15 ms
7,776 KB
testcase_10 AC 15 ms
7,872 KB
testcase_11 AC 15 ms
7,804 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 AC 15 ms
7,848 KB
testcase_20 AC 15 ms
7,884 KB
testcase_21 AC 44 ms
15,520 KB
testcase_22 AC 77 ms
24,224 KB
evil01.txt WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

_ = input()
points = list(set(map(int, input().split())))
print(min([abs(points[n] - points[n + 1]) for n in range(len(points) - 1)]))
0