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 |
Re:测试数据In Reply To:测试数据 Posted by:qlyzpqz at 2009-11-07 22:54:20 有个问题,如果是通过前n个输入可以把字母进行排序,但是第n+1个输入数据导致无法进行排序,形成回路。那么,应该是输出: Sorted sequence determined after n relations: ……. 呢, 还是输出: Inconsistency found after n+1 relations. 我对这个有疑问,示例测试数据: 5 7 A<C C<D B<C B<A E<D C<E E<C 0 0 因为我的程序AC了,但是好像对于这组数据输出地是 Sorted sequence determined after n relations: ……. 那么是测试数据考虑不全面还是本来就应该输出这个……求高人解答 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator