#P5718. 【深基4.例2】找最小值
【深基4.例2】找最小值
Problem Description
Given and integers , find the minimum value among these integers.
Input Format
The first line contains a positive integer , which represents the number of values.
The second line contains non-negative integers, representing , separated by spaces.
Output Format
Output a non-negative integer, representing the minimum value among these non-negative integers.
5
5 7 4 2 6
2
Hint
Constraints: and .
Translated by ChatGPT 5