输入 n 个整数,输出最大重量。
第一行输入 n。 第二行输入 n 个整数。
输出一个整数。
3 3 8 2
8
1≤n≤100,数组元素为 int 范围内整数。
使用您的 www.mathcoding.online 通用账户