输入 n 个整数,输出最大值减最小值。
第一行输入 n。 第二行输入 n 个整数。
输出最大值减最小值。
3 1 9 3
8
1≤n≤100
使用您的 www.mathcoding.online 通用账户