输入 n 个整数,按倒序扫描并输出总和。
第一行输入 n。 第二行输入 n 个整数。
按倒序扫描后输出总和。
4 1 2 3 4
10
1≤n≤100
使用您的 www.mathcoding.online 通用账户