HDOJ 5155 Harry And Magic Box DP Harry And Magic Box
dp[i][j] 表示 长宽为i,j的矩形的可能的总数dp[i][j+1] 可由 dp[i][j] 推过来,枚举dp[i][j]所保留的行数(1...i)即可Harry And Magic BoxTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total S