Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

for(j=0;j+i<len;j++)<----这句错了。建议前面加一个for(int m=0;m<i;m++)然后for(j=m;j+i<len;j++)

Posted by OpheliaJ at 2008-07-14 17:44:34 on Problem 3096
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator