输入 n 个整数,输出最后一个数减第一个数。
第一行输入 n。 第二行输入 n 个整数。
输出最后一个数减第一个数。
4 1 2 3 4
3
1≤n≤100
使用您的 www.mathcoding.online 通用账户