上一页 1 ··· 47 48 49 50 51
摘要: Pass a year learning in Hangzhou, yifenfei arrival hometown Ningbo at finally. Leave Ningbo one year, yifenfei have many people to meet. Especially a 阅读全文
posted @ 2018-11-29 10:10 EchoZQN 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 非原创 #include<bits/stdc++.h>using namespace std;int t1[2009];int t2[2009]; int findmax(int *a){ int i,p=0; for(i=0;i<1001;i++) { if(a[p]<a[i]) p=i; } r 阅读全文
posted @ 2018-11-22 11:36 EchoZQN 阅读(91) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include<cstdio>#include<algorithm>using namespace std;int a[109];int main(){ int n,i; scanf("%d",&n); for(i=n;i>=0;i--) scanf("%d" 阅读全文
posted @ 2018-11-21 16:26 EchoZQN 阅读(80) 评论(0) 推荐(0) 编辑
摘要: 前缀和思想 Genos needs your help. He was asked to solve the following programming problem by Saitama: The length of some string s is denoted |s|. The Hammi 阅读全文
posted @ 2018-11-19 20:44 EchoZQN 阅读(143) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include <algorithm>#include <cstdio>using namespace std;int b[1090];struct play { int right; int left; }; bool cmp(play a,play b)  阅读全文
posted @ 2018-11-19 17:12 EchoZQN 阅读(90) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include <algorithm>#include <cstdio>using namespace std; struct race{ int first; int second;}; bool cmp(race a,race b){ return a.s 阅读全文
posted @ 2018-11-19 16:12 EchoZQN 阅读(89) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include <algorithm>#include <cstdio>using namespace std; struct milk{ int p; int num;}; bool cmp(milk a,milk b){ return a.p < b.p; 阅读全文
posted @ 2018-11-19 16:04 EchoZQN 阅读(78) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include <algorithm>#include <cstdio>using namespace std;int a[109];int b[109];int main(){ int n,i,s=0,t,c=0; scanf("%d",&n); for(i 阅读全文
posted @ 2018-11-18 19:00 EchoZQN 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 法一,数字太大,可能通过不了 #include <iostream>#include <algorithm>#include <cstdio>using namespace std;int a[30010]; int main(){ int i,n,m,t=0; scanf("%d%d",&n,&m 阅读全文
posted @ 2018-11-18 16:31 EchoZQN 阅读(116) 评论(0) 推荐(0) 编辑
上一页 1 ··· 47 48 49 50 51