Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:yu men

Posted by wrong123 at 2006-01-04 18:02:35 on Problem 1101
In Reply To:yu men Posted by:missmiss at 2005-12-02 21:49:30
BFS 可以啊。

写起来好烦啊。

我是把整个棋盘外面围了两圈,一圈表示可以走,另外一圈表示堵死,
然后每一点依次往4个方向扩展,碰到终点就找到。


Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator