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:请教这题应该怎样保存路径?

Posted by alpczy at 2012-03-31 00:58:03 on Problem 1015
In Reply To:Re:请教这题应该怎样保存路径? Posted by:742808221 at 2012-03-24 19:07:47
可以用path[i][j]来表示第i步差为j的情况所取的数。
每次向前遍历,看当前所取的点是不是取过

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