文件名称:To-Miss-Our-Children-Time-DP
介绍说明--下载内容均来自于网络,请自行研究使用
/*hdu4001To Miss Our Children Time DP
每块积木有四个参数a(长),b(宽),c(高),d(属性)
d==0 它下面的积木为X a>=X.a b>=X.b
d==1 a>=X.a b>=X.b&&(a>X.a||b>X.b)
d==2 a>X.a&&b>X.b
所以先按长从小到大 再宽从小到大 属性从大到小排序
f[i]表示以第i个积木为顶的已搭积木的最大高度
*/-/* Hdu4001To Miss Our Children Time DP per building blocks with four parameters a (long), b (width), c (high), d (attribute) d == 0 below it Bricks X Are A> = Xa B> = Xb d == 1 a> = Xa b> = Xb & & (a> Xa | | b> Xb) d == 2 a> the Xa & & b> Xb so press long from small to large and wide from small to large property from largest to smallest Sort f [i] represents the building blocks for the i-th top of the building blocks of the maximum height* /
每块积木有四个参数a(长),b(宽),c(高),d(属性)
d==0 它下面的积木为X a>=X.a b>=X.b
d==1 a>=X.a b>=X.b&&(a>X.a||b>X.b)
d==2 a>X.a&&b>X.b
所以先按长从小到大 再宽从小到大 属性从大到小排序
f[i]表示以第i个积木为顶的已搭积木的最大高度
*/-/* Hdu4001To Miss Our Children Time DP per building blocks with four parameters a (long), b (width), c (high), d (attribute) d == 0 below it Bricks X Are A> = Xa B> = Xb d == 1 a> = Xa b> = Xb & & (a> Xa | | b> Xb) d == 2 a> the Xa & & b> Xb so press long from small to large and wide from small to large property from largest to smallest Sort f [i] represents the building blocks for the i-th top of the building blocks of the maximum height* /
(系统自动生成,下载前可以参看下载内容)
下载文件列表
hdu4001To Miss Our Children Time DP.txt