【例52.1】 不与最大数相同的数字之和
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
说明
输出一个整数数列中不与最大数相同的数字之和。
输入格式
输入分为两行:第一行为  为接下来数的个数();
第二行为  个整数,数与数之间以一个空格分开,每个整数的范围是:  到  。
输出格式
输出为 个数中除去最大数其余数字之和。
样例
3
1 2 33
2024021901
- Status
 - Done
 - Rule
 - ACM/ICPC
 - Problem
 - 10
 - Start at
 - 2024-2-19 17:00
 - End at
 - 2024-2-19 18:30
 - Duration
 - 1.5 hour(s)
 - Host
 - Partic.
 - 11