土拨鼠的排队
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.
背景
锑集团的土拨鼠排队吃饭了,但土拨鼠太多了,所以,有很多土拨鼠在排队的时候会打架。所以锑君为此十分生气,所以它把让土拨鼠安静的排队的重担交给了你。
描述
设锑集团现在有只土拨鼠,而每只土拨鼠都有一个忍耐时间,一旦超过这个时间,土拨鼠就会开始打架。 所以,我们要将忍耐时间短的土拨鼠排在前面,而忍耐时间长的土拨鼠排在后面,所以你要编写程序,帮土拨鼠排好队。
输入
输入和次
输出
排序后的顺序
案例
6
45 23 234 2 73 32
2 23 32 45 73 234
限制
250秒,2500MB
AASB系列炒鸡考试
- Status
- Done
- Rule
- IOI(Strict)
- Problem
- 11
- Start at
- 2023-10-21 15:00
- End at
- 1970-1-1 8:00
- Duration
- -471631 hour(s)
- Host
- Partic.
- 1