- 分享
E
- 2023-8-3 10:02:40 @
#include <bits/stdc++.h>
using namespace std;
int main()
{
int n;
int a,b=0,c;
cin>>n;
for(int i=1; i<=n; i++)
{
cin>>a;
if(b<a)
{
b=a;
}
c=a;
}
cout<<b;
return 0;
}
0 comments
No comments so far...