[例4.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.
题目描述
给出 和 个整数 ,求这 个整数中最小值是什么。
输入格式
第一行输入一个正整数 ,表示数字个数。
第二行输入 个非负整数,表示 ,以空格隔开。
输出格式
输出一个非负整数,表示这 个非负整数中的最小值。
样例 #1
样例输入 #1
5
5 7 4 2 6
样例输出 #1
2
提示
数据保证, 且 。
龙凤苑中学A班5.17
- Status
- Done
- Rule
- IOI
- Problem
- 4
- Start at
- 2024-5-17 16:00
- End at
- 2024-5-17 18:00
- Duration
- 2 hour(s)
- Host
- Partic.
- 23