将数组排序后,求相邻元素的最小差值。
第一行输入整数 nnn。 第二行输入 nnn 个整数。
输出一个整数。
2≤n≤2×1052\le n\le 2\times 10^52≤n≤2×105
4 3 1 2 2
0
使用您的 www.mathcoding.online 通用账户