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

打扰了各位,原来我弄错了题目的意思!!!!衰^^^^^^^^^^^^^^^^下面已经改好了!

Posted by hujk2008 at 2004-10-25 18:20:14 on Problem 1094
In Reply To:还没有查出什么错来,哪位高人指点一下!!! Posted by:hujk2008 at 2004-10-25 16:02:05
/////////////////////////////
if( err )
			printf("Inconsistency found after %d relations.\n",err);
		else if( flag)
		{
			printf("Sorted sequence determined after %d relations: ",flag);
			while(!Isempty())
				printf("%c",pop());
			printf(".\n");
		}
		else
			printf("Sorted sequence cannot be determined.\n");
//////////////////////////////////////上面改成下面就可以了。
 if( flag)
		{
			printf("Sorted sequence determined after %d relations: ",flag);
			while(!Isempty())
				printf("%c",pop());
			printf(".\n");
		}
		else
		 if( err )
			printf("Inconsistency found after %d relations.\n",err);
		else
			printf("Sorted sequence cannot be determined.\n");

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