《普及-》
2024-08-28 21:04:27
发布于:云南
3阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
int main(){
int maxx = -1;
int n; cin >> n;
while(n--){
int t; cin >> t;
maxx = max(maxx,t);
}
cout << maxx;
return 0;
}
这里空空如也
有帮助,赞一个