hdu1069线性dp
摘要:
/* dp[i]:取第i个方块时最多可以累多高 */ #include using namespace std; struct node{ int x,y,z; bool operatora.y; return x>a.x; } //按照x从大到小排,x相同的话就按y从小到大排 }block[1000]; int dp[1000],tot; int... 阅读全文
posted @ 2019-01-17 01:36 zsben 阅读(115) 评论(0) 推荐(0)
浙公网安备 33010602011771号