Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
用char[26][26]存放点对,两重for,0ms…… for (k=1;k<l-1;k++)//length { memset(a,0,sizeof(a)); for (j=0;j<l-k;j++)//start { if (a[ss[j]][ss[j+k]]==0) a[ss[j]][ss[j+k]]=1; else break; } if (j<l-k) break; } …… Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator