結果
| 問題 | 
                            No.135 とりあえず1次元の問題
                             | 
                    
| コンテスト | |
| ユーザー | 
                             StarMatyan
                         | 
                    
| 提出日時 | 2020-11-29 11:13:00 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 300 bytes | 
| コンパイル時間 | 339 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 21,628 KB | 
| 最終ジャッジ日時 | 2024-09-13 01:55:12 | 
| 合計ジャッジ時間 | 2,385 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 WA * 1 | 
| other | AC * 11 WA * 11 | 
ソースコード
inputer = int(input())
lister = input().split(" ")
num_lister = [int(i) for i in list(lister)]
num_lister.sort()
min_d =num_lister[1]-num_lister[0]
for inin in range(inputer):
	if inin > 1:
		if min_d > num_lister[inin]-num_lister[inin-1]:
			min_d=num_lister[inin]-num_lister[inin-1]
print(min_d)
            
            
            
        
            
StarMatyan