删除最大数
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.
Description
输入n个数,要求找出n个数的最大值,并将最大的数删除后,再输出剩余的数。
提示,如果有多个最大的数,那么都要删除。 如果一个数也不剩下,输出"none"
Input Format
第一行:n n<=100 第二行:n个由空格隔开的整数。
Output Format
剩余的数字,用空格隔开。
Sample
input
5
2 3 6 1 6
output
2 3 1
Hint
时间限制:
20200810数组基本练习
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 12
- Start at
- 2020-8-10 9:48
- End at
- 2020-8-11 9:48
- Duration
- 24 hour(s)
- Host
- Partic.
- 43