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