hdu1094

2018-06-04 11:49:59 浏览数 (1)

#include<iostream> using namespace std; int main(){ int n; while(cin>>n){ int sum=0; int i,m; for(i=1;i<=n; i){ cin>>m; sum =m; } cout<<sum<<endl; } return 0; }

0 人点赞