标签:space iostream turn std int bsp stream cout amp
#include<iostream>
using namespace std;
int main()
{
int n;
while(cin>>n&&n!=0&&n<=4){
int t;
int max=0;
for(int i=0;i<n;i++){
cin>>t;
if(t>max) max=t;
}
cout<<max<<endl;
}
return 0;
}
标签:space iostream turn std int bsp stream cout amp
原文地址:http://www.cnblogs.com/sysu-eeman-yang/p/5987453.html