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

106行,TLE了2次,WA了1次……卡了一个多钟弱爆了。TLE和WA的进

Posted by wyc4662 at 2012-01-21 22:28:50 on Problem 3083
TLE了2次才发现,BFS的数组开小了……40*40=1600我才开到100
WA是因为打了个回溯的dfs,导致回头后方向出错,所以干脆转化成模拟去做……一直找左/右边的路走下去就行了

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