Find Minimum Log Transportation Cost
Two logs of lengths n and m must ride on three trucks, one piece per truck, each piece at most k long. Cutting a log into pieces a and b costs a times b; find the cheapest total cost.
Two logs of lengths n and m must ride on three trucks, one piece per truck, each piece at most k long. Cutting a log into pieces a and b costs a times b; find the cheapest total cost.