X-man

导航

2013年8月15日 #

算法的选择

摘要: 输入: 一个正整数n,以及整数数列A1, A2 ,A3 ……,An。 一个正整数m,以及整数数列B1,B2 ,B3……,Bm。 其中 (1#includeusing namespace std;int a[1001000];int b[1010];int c[1010];int hash[1001000];int main(){ int n,m; int i; while(scanf("%d%d",&n,&m)!=EOF) { for(i=0;i=a[j]) { j++; s... 阅读全文

posted @ 2013-08-15 09:48 雨钝风轻 阅读(147) 评论(0) 推荐(0) 编辑