【例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 3
3
初一3班20250314作业
- Status
- Done
- Problem
- 8
- Open Since
- 2025-3-14 8:45
- Deadline
- 2025-3-14 10:20
- Extension
- 24 hour(s)