hdu 4001 To Miss Our Children Time( sort + DP ) - hl_mark - 博 ...
The input has many test cases. For each test case the first line is a integer n ( 0< n <= 1000) , the number of blocks. From the second to the n+1'th lines , each line describing the i‐1'th block's a,b,c,d (1 =