排序去重后求不同数字之和。
第一行输入一个整数 nnn。 第二行输入 nnn 个整数。
输出一个整数。
1≤n≤100,整数绝对值不超过109^99
6 1 1 2 2 2 3
6
使用您的 www.mathcoding.online 通用账户