| ||||||||||
| 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 | |||||||||
for(j=0;j+i<len;j++)<----这句错了。建议前面加一个for(int m=0;m<i;m++)然后for(j=m;j+i<len;j++)In Reply To:谁帮我看一下 Posted by:kric at 2007-04-07 21:41:31 for(j=0;j+i<len;j++)<----这句错了。建议前面加一个for(int m=0;m<i;m++)然后for(j=m;j+i<len;j++)
{
xx[k][0]=p[j];
xx[k][1]=p[j+i];
k++;
}
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator