From: "Steven Deller" <deller@smsail.com>
To: <comp.lang.ada@ada.eu.org>
Subject: RE: Arrays and Access types...
Date: Sat, 27 Oct 2001 00:23:48 -0400
Date: 2001-10-27T00:23:48-04:00 [thread overview]
Message-ID: <mailman.1004156869.28743.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: <uHoC7.5338$sR2.1284292@news1.sttln1.wa.home.com>
3**5 > 200 -- no problem to solve at all :-)
> -----Original Message-----
> From: comp.lang.ada-admin@ada.eu.org
> [mailto:comp.lang.ada-admin@ada.eu.org] On Behalf Of DuckE
> Sent: Friday, October 26, 2001 10:10 PM
> To: comp.lang.ada@ada.eu.org
> Subject: Re: Arrays and Access types...
>
>
> Cool!
> I figured it out, but it was puzzling.
> Thanks for the brain teaser.
>
> SteveD
>
>
> "Eric G. Miller" <egm2@jps-nospam.net> wrote in message
news:AHnC7.1323$655.42331@nntp3.onemain.com...
> Thanks all for your comments, suggestions.
>
> For the curious, I was writing a problem that simulated a human
> solving the following problem:
>
> Question. If you have 200 coins and 199 of them weigh the same amount
> and 1 is lighter than the others. Using a two pan balancing scale, how
> can you identify the lighter coin in 5 weighings or less?
>
> Don't get me started on how you could possibly have all of this
> information a priori and *not* know which coin was lighter...
_______________________________________________
comp.lang.ada mailing list
comp.lang.ada@ada.eu.org
http://ada.eu.org/mailman/listinfo/comp.lang.ada
next prev parent reply other threads:[~2001-10-27 4:23 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-26 4:46 Arrays and Access types Eric G. Miller
2001-10-26 5:39 ` James Rogers
2001-10-26 6:45 ` Eric G. Miller
2001-10-26 16:40 ` James Rogers
2001-10-26 6:14 ` tmoran
2001-10-26 14:26 ` Ted Dennison
2001-10-26 19:31 ` chris.danx
2001-10-26 23:32 ` Jeffrey Carter
2001-10-27 1:08 ` Eric G. Miller
2001-10-27 2:09 ` DuckE
2001-10-27 4:23 ` Steven Deller [this message]
2001-10-27 18:30 ` Eric G. Miller
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox