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:yu menIn Reply To:yu men Posted by:missmiss at 2005-12-02 21:49:30 BFS 可以啊。 写起来好烦啊。 我是把整个棋盘外面围了两圈,一圈表示可以走,另外一圈表示堵死, 然后每一点依次往4个方向扩展,碰到终点就找到。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator