package no135; import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); if (n == 0) { System.out.println(0); return; } Integer[] x = new Integer[n]; for(int i=0;i 0) { ans = Math.min(ans, x[i+1] - x[i]); } } System.out.println(ans); } }