Maximum Count, Maximum Size

Lumber Length

Piece Length

Count

Cuts

Description

Given a length of wood from which you want to cut pieces of a particular size, where should you place the cuts to get the maximum number of pieces from the wood and with the maximum extra length available for each piece?

URL Parameters

lumber - the length of the lumber being cut - defaults to 2400

piece - the length of the piece being cut from the lumber