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