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:Re:这题要全搜的,怎么不会超时? Posted by:fishing_test at 2009-04-22 19:42:00 And every position has most 3 directions to expand. In this case, as the R,C's range and something unknown, the directions mostly less than 3, maybe 0,1,2. So the time complexity upper limit is far below 3^25(8.47e11) Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator