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:ACM_Hohai at 2008-11-01 21:31:50 期间也用到了判断是否有周期,用了记录数组,模拟的时候,如若出现了重复情况,但是尚且没回到初始位置,就认为这个祭祀是不循环的。 之间也记录了是否有祭祀一直原地不动的情况。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator