poj3624. 0-1 packing problem