【例19.3】 田忌赛马
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.
说明
齐国大将田忌,很喜欢赛马。一次他与齐威王约定,进行一场比赛。他们准备将马分为上、中、下三等马。可田忌太笨了,他不知道怎么分,于是找到了你。现在输入个浮点数,表示匹马的速度,请从小到大输出。
输入格式
个浮点数,表示匹马的速度。
输出格式
从小到大排序后的个数。
样例
8 6 7
6 7 8
赛后自觉更正错题
- Status
- Done
- Rule
- IOI
- Problem
- 7
- Start at
- 2024-11-15 18:30
- End at
- 2024-11-15 21:30
- Duration
- 3 hour(s)
- Host
- Partic.
- 18