poj1745. DP. packing problem