From: marcus baker Date: 2005-06-30T01:12:29+09:00 Subject: Re: Programmers Contest: Fit pictures on a page 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. On 6/29/05, Randy Kramer wrote: > On Wednesday 29 June 2005 10:30 am, hicinbothem@ems.att.com wrote: > > The summer POTM challenges you to write a program that will place up to > > 26 pictures on a sheet of paper with the least amount of leftover > > space. > > Do you want to constrain the solutions a little more? A trivial solution that > wastes no paper (regardless of paper size) is to print 2 rows of 13 pictures, > and resize each picture to fit in that space. > > Randy Kramer > >