课例题 - 孔融让梨
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.
题目描述
孔融小时候聪明好学,才思敏捷,大家都夸他是神童。一日,父亲叫孔融分梨,孔融挑了个最小的梨,其余按长幼顺序分给兄弟。现在,有个梨。输入个整数表示这个梨的重量,请输出最小的数。
输入格式
个整数,表示个梨的重量。
输出格式
min=最小的数。
题目样例
样例输入
3 4 5
样例输出
min=3
小孩头保卫战 —— 第一次为头奋斗
- Status
- Done
- Rule
- XCPC
- Problem
- 12
- Start at
- 2024-12-5 21:00
- End at
- 2025-1-16 13:00
- Duration
- 1000 hour(s)
- Host
- Partic.
- 15