hdu1864 dp. 0-1 packing