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

过了的发组数据~

Posted by Takk at 2008-07-14 23:16:14 on Problem 1475
4 5
...T#
.#.B.
.#.#.
..S..

应输出

Maze #1
eennWesswwnNsswwnnneE

两重BFS,对于Box的BFS应该注意一下,不能只按照最短路径,还应该考虑到人是否能推这个箱子
像上面的数据表面上B只要一步就可以到达目的T,可是这种路径人是不肯推到的。

从WA到TLE,最后到STATUS的第一,好高兴~

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