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 |
打扰了各位,原来我弄错了题目的意思!!!!衰^^^^^^^^^^^^^^^^下面已经改好了!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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator