2017年3月10日

摘要: #include<iostream>#include<algorithm>using namespace std;int main(){ int n; cin>>n; int a[n]; int i,j,count1 = 0,count2 = 0; for(i=0;i<n;i++) cin>>a[i 阅读全文
posted @ 2017-03-10 19:18 whitehouse 阅读(206) 评论(0) 推荐(0) 编辑
摘要: #include<iostream>using namespace std;int main(){ int t,s,x,i; cin>>t; if(t<=3500) cout<<t; else{ for(i=3600;i<=200000;i+=100){ if(i>=3600&&i<=5000){ 阅读全文
posted @ 2017-03-10 19:17 whitehouse 阅读(189) 评论(0) 推荐(0) 编辑
摘要: #include<iostream>#include<string>#include<algorithm>using namespace std;int cmp(string a,string b){ return a+b>b+a; }int main(){ int n; while(scanf(" 阅读全文
posted @ 2017-03-10 19:16 whitehouse 阅读(71) 评论(0) 推荐(0) 编辑

导航