[Reply]

HI all,

At 12:37 on 1/02/2010 you wrote 
Fair enough, although I didn't see any other responses.  That's what you get 
for being at the beach on Friday!  So, Gary, what are the answers you had for 
questions two and three?


Answer 1

Weigh balls 1, 2, 3 against 4, 5, 6. If they balance, compare 7 and 8; if they 
differ, take the heavier set (say 1,2,3) and weigh 1 and 2. If they balance, 
ball 3 is heaviest.


Answer 2

If there are N pirates, give half of them just over 1/N of the loot each (which 
is more than they’d expect by even distribution). Keep the remaining loot (just 
under half the total).


Answer 3

Suppose there are only two married couples in the village. When the queen makes 
her announcement, Wife 1 knows Husband 2 was unfaithful. Now she knows that if 
Wife 2 sees that Husband 1 is faithful then Wife 2 will kill Husband 2 on the 
first day because at least one of the two men is unfaithful and it isn’t 
Husband 1. 
However, Wife 2 doesn’t kill her husband. The only reason being because she 
knows Husband 1 is unfaithful. Because both husbands are still alive on the 
second day the wives know both are unfaithful. So on the second day both 
husbands are killed by their wives. 
What happens with 100 married couples is that the wives have to wait till the 
100th day before they can prove that their husband is cheating.

On the 100th day there is a bloodbath: all the men are killed by their wives.


..... till next time.

kr

Gary


Ref#: 41006

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Reply via email to