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:马丹我h函数写错了我去

Posted by lccwaid at 2015-07-29 00:26:09 on Problem 3523
In Reply To:马丹我h函数写错了我去 Posted by:lccwaid at 2015-07-28 17:32:17
> 2360ms过
h函数可以事先普通bfs预处理dis[0/1/2][i][j]代表坐标(i,j)到点A/B/C的最短距离,用的时候取max就行了,

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