Re: figure out which shirt to wear
- From: Steve O'Hara-Smith <steveo@xxxxxxxxxx>
- Date: Tue, 31 Jan 2006 12:59:42 +0000
On Tue, 31 Jan 2006 11:53:49 -0000
Gerry Quinn <gerryq@xxxxxxxxxxxxxxxxxxx> wrote:
> In article <1138679604.101623.281430@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
> atomush@xxxxxxxxx says...
> > I have a N number of shirts.
> >
> > I wear them to work M-F, and I also wear them with friends on
> > Fri/Sat/Sun.
> >
> > The same shirt I wear to work on F, I also wear when I am hanging out
> > on Friday night.
> >
> > I want to rotate them such that I don't wear one particular shirt too
> > many times.
> >
> > This problem is simple if change shirts on Friday between work and
> > nighttime, but I can't do that.
> >
> > How can I evenly rotate?
>
> If N is divisible by seven, buy one more shirt. Then simply rotate
> your shirts every day from then on. The minimal cost of extra hardware
Can be avoided by ...
if N is divisible by seven place one shirt in storage until
it is time to buy new shirts (at which time buy N - 2 and remove the
stored shirt). Then simply rotate the shirts every day.
--
C:>WIN | Directable Mirror Arrays
The computer obeys and wins. | A better way to focus the sun
You lose and Bill collects. | licences available see
| http://www.sohara.org/
.
- References:
- figure out which shirt to wear
- From: atomush
- Re: figure out which shirt to wear
- From: Gerry Quinn
- figure out which shirt to wear
- Prev by Date: Re: Best language to learn for jobs - Java? C#?
- Next by Date: Re: Please use wxWidgets
- Previous by thread: Re: figure out which shirt to wear
- Next by thread: Passing function arguments in fortran with OpenMP
- Index(es):
Relevant Pages
|