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 zhangcy269 at 2023-01-14 12:47:03 on Problem 1033
In Reply To:代码如下,只要出现移动并且不成环,那空闲块每次都要重置。如果像我这样遍历每个cluster,那么每次移动时注意数组的清零 Posted by:zhangcy269 at 2023-01-14 12:43:49


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