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 yoyosir at 2006-10-05 17:35:22 on Problem 2241
In Reply To:Re:怪了,这个题居然没有一个人来讨论 Posted by:wrong123 at 2006-01-05 02:28:38
> 感觉是经典的DP啊。
> 
> 把可变的三维,弄成6种固定形状的一维方块。
> 解空间扩大6倍,但是处理起来太方便了,长就
> 是长,宽就是宽,高就是高了。


你AC了吗?
我也差不多是这样
不过我扩大的3倍
长和宽可以
if (s[max,1]<s[j,1])and(s[max,2]<s[j,2]) or (s[max,2]<s[j,1])and(s[max,1]<s[j,2])

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