题解 | A7822.找最小值
2025-10-06 13:22:34
发布于:广东
6阅读
0回复
0点赞
#include <bits/stdc++.h>
using namespace std;
int main(){
int n , m = 1005;
cin >> n;
for(int i = 1;i <= n; i++){
int x;
cin >> x;
m = min(m , x);
}
cout << m;
return 0;
}
这里空空如也


有帮助,赞一个