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:循环+BFS~为什么TLE 帮忙看看(152行)

Posted by einstein17 at 2010-04-23 22:28:44 on Problem 3083
In Reply To:Re:循环+BFS~为什么TLE 帮忙看看(152行) Posted by:einstein17 at 2010-04-23 22:23:26
> 你的v[sr][sc] = true;v数组没有再次更新
if ( maze[row][col] == '.' )
应该加 v[row][col]是否为真的判断,真就跳过

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