【例18.2】 孔融让梨
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 4 5min=3
【周六9:00】 7月6日作业
- Status
 - Done
 - Problem
 - 10
 - Open Since
 - 2024-7-6 0:00
 - Deadline
 - 2024-7-16 23:59
 - Extension
 - 24 hour(s)