上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页
  2015年3月4日
摘要: #include#includeint HARSH[1066];int main(){ memset(HARSH,0,sizeof(HARSH)); int n,m; scanf("%d%d",&n,&m); for(int i=0 ; i0) { if(i==m-i && ... 阅读全文
posted @ 2015-03-04 00:38 Evence 阅读(154) 评论(0) 推荐(0) 编辑
  2015年3月3日
摘要: #include#includeusing namespace std;int arr1[1000066];int arr2[1000066];int main(){ int n1,n2; scanf("%d",&n1); for(int i=0 ; i<n1 ; ++i) { sca... 阅读全文
posted @ 2015-03-03 23:43 Evence 阅读(121) 评论(0) 推荐(0) 编辑
摘要: #include#includeusing namespace std;bool HARSH[10066]; //实际上申请来之后初试都是falsebool cmp(int a,int b){ return a>b;}int main(){ fill(HARSH,HARSH+1066,... 阅读全文
posted @ 2015-03-03 12:27 Evence 阅读(151) 评论(0) 推荐(0) 编辑
  2015年3月2日
摘要: #include#include#includeusing namespace std;bool HARSH[260]; //实际上申请来之后初试都是falseint main(){ fill(HARSH,HARSH+260,true); char str1[10066]; char... 阅读全文
posted @ 2015-03-02 22:34 Evence 阅读(97) 评论(0) 推荐(0) 编辑
摘要: #include#includeint harsh[10066];int arr[100066];int main(){ memset(harsh,0,sizeof(harsh)); memset(arr,0,sizeof(arr)); int n; scanf("%d",&n); for... 阅读全文
posted @ 2015-03-02 21:25 Evence 阅读(258) 评论(0) 推荐(0) 编辑
摘要: #include#include#includeusing namespace std;int harsh[300];char str1[100066],str2[100066];int main(){ fill(harsh,harsh+300,true); //初始化全都是好的 gets... 阅读全文
posted @ 2015-03-02 20:51 Evence 阅读(236) 评论(0) 推荐(0) 编辑
摘要: #include#includebool HARSH[256]={false}; //标记字符,初始化都未输出过int main(){ char str1[100],str2[100],tmp[100]; gets(str1); gets(str2); int len1=strle... 阅读全文
posted @ 2015-03-02 19:26 Evence 阅读(181) 评论(0) 推荐(0) 编辑
摘要: #include#include#includeusing namespace std;struct Student{ int GE,GI,sum,rank,ID; int prefer[6];}STU[40066];struct School{ int want; //各学校招... 阅读全文
posted @ 2015-03-02 16:22 Evence 阅读(252) 评论(0) 推荐(0) 编辑
摘要: #include#include#includeusing namespace std;int want[106]; //各学校招生人数struct Student{ int GE,GI,sum,rank,ID; int prefer[6]; bool R; /... 阅读全文
posted @ 2015-03-02 15:01 Evence 阅读(238) 评论(0) 推荐(0) 编辑
摘要: #include#includeusing namespace std;struct Student{ char name[15]; char ID[15]; int gread;}STU[66666];bool cmp(Student a,Student b){ return a.grea... 阅读全文
posted @ 2015-03-02 11:21 Evence 阅读(105) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页