poj1015. DP. packing problem