Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
这题想不清楚的话很麻烦,如果就用一个数组做输入,递归的方法打印结果,代码长度和运行时间空间都能得到控制In Reply To:代码如下,只要出现移动并且不成环,那空闲块每次都要重置。如果像我这样遍历每个cluster,那么每次移动时注意数组的清零 Posted by:zhangcy269 at 2023-01-14 12:43:49 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator