E.治病
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.
背景
ZSC001第五题。
问题描述
张锦程在美国生病了,有家医院,路程分别是千米,找出最近的医院离张锦程的距离,让他治病吧!
格式
输入
行,第一行是,也就是医院的数量,后面行依次是,也就是各医院离张锦程的距离。
输出
一个数,最近的医院离张锦程的距离(单位:千米)。
样例
10
1
2
1
3
4
2
45
1
4
8
1
5
3
4
2
45
8
2
数据
ZSC001(Zjc Story Contest001)(张锦程故事竞赛001)
- Status
- Done
- Rule
- Ledo
- Problem
- 8
- Start at
- 2025-1-1 0:00
- End at
- 2025-4-1 0:00
- Duration
- 2160 hour(s)
- Host
- Partic.
- 7