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:yellowflying at 2006-07-28 00:58:23 我想主要是因为某个位置在给定的次数内按照给定的顺序移动的过程中,出现了许多 周期性的情况,因此在判断最终位置时,要先求出他的循环周期,然后求出给定次数对周期的余数。即省掉那些重复性的多余 的判断。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator