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