给出 n 个整数,输出最大值与最小值的差。
第一行输入整数 n。 第二行输入 n 个整数。
输出一个整数。
4 3 9 2 7
7
1≤n≤100,0≤ai_ii≤109^99
使用您的 www.mathcoding.online 通用账户