From: gabriele renzi Date: 2005-06-30T06:00:42+09:00 Subject: Re: Programmers Contest: Fit pictures on a page marcus baker ha scritto: > It'd be pretty facetious resizing the images - I mean, if you're going > to resize at all just to win you might as well just every image to one > or two pixels squared and fit it on the paper. > > The point of the sport is obviously to stick with the original, > unresized images of arbitrary dimensions and coming up with an > algorithm to conserve as much canvas as possible laying them down. emh.. sorry, but I have the feeling this is a rephrasing of the Knapsack problem, am I wrong?