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

Re:到底怎样才行?

Posted by bobpkuhj at 2004-08-24 15:38:28 on Problem 1208
In Reply To:到底怎样才行? Posted by:anonym11 at 2004-08-24 15:16:31
> 我的代码如下,display()错在哪儿了?
> void display()
> {
> 	int i,j;
> 	for(i = 1;i <= n;i ++)
> 	{
> 		printf(" %d: ",i-1);
                 ~~~~~~~~~~~~~~~~~~~~~~printf("%2d: ",i-1);
> 		if(!st[i][1])
> 			;
> 		else
> 			for(j = 1;st[i][j];j ++)
> 				printf(" %d",(st[i][j]-1));
> 			cout << endl;
> 	}
> }
> 

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