不与最大数相同的数字之和
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.
不与最大数相同的数字之和
题目描述
输出一个整数数列中不与最大数相同的数字之和。
输入格式
输入分为两行:
第一行为 为接下来数的个数,;
第二行为 个整数,数与数之间以一个空格分开,每个整数的范围是 到 。
输出格式
输出为 个数中除去最大数其余数字之和。
样例 #1
样例输入 #1
3
1 2 3
样例输出 #1
3
12.10
- Status
- Done
- Rule
- IOI
- Problem
- 6
- Start at
- 2024-12-10 16:30
- End at
- 2024-12-10 18:30
- Duration
- 2 hour(s)
- Host
- Partic.
- 26