#include <bits/stdc++.h>
using namespace std;
int main() {
int n, minNum = 1 << 20;
scanf("%d", &n);
while (n--) {
int num;
scanf("%d", &num);
if (num < minNum)
minNum = num;
}
printf("%d\n", minNum);
return 0;
}
P5718(找最小值)
最新推荐文章于 2024-07-08 08:25:19 发布