I think he might of being applying for a job and getting us to do his homework ;-)
Alister Christie Computers for People Ph: 04 471 1849 Fax: 04 471 1266 http://www.salespartner.co.nz PO Box 13085 Johnsonville Wellington Pedrocelli 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? > > ----- Original Message ----- > *From:* PDS - John <mailto:j...@padasy.co.nz> > *To:* 'NZ Borland Developers Group - Delphi List' > <mailto:delphi@delphi.org.nz> > *Sent:* Monday, February 01, 2010 12:18 PM > *Subject:* Re: [DUG] Thank God it's Friday ... > > Hi Pedrocelli > > > > Sorry, it is already Monday mate, so you're too late for the prize > of a chocolate fish per correct answer. > > > > John > > > > > > *From:* delphi-boun...@delphi.org.nz > <mailto:delphi-boun...@delphi.org.nz> > [mailto:delphi-boun...@delphi.org.nz] *On Behalf Of *Pedrocelli > *Sent:* Monday, 1 February 2010 11:23 a.m. > *To:* NZ Borland Developers Group - Delphi List > *Subject:* Re: [DUG] Thank God it's Friday ... > > > > Ok, here goes my answers - > > > > *Q1* - Put three on each side - if they are the same then the > heavy ball is one of the remaining balls so you compare them to > find the heavy ball; if the first weighing is uneven you take the > heavy group and weigh two of them against each other - if they are > the same the third ball is the heavy one, if they are uneven you > have the heavy ball on the scales. BTW, this has been posed > before, I'm sure, and you can do this with up to nine balls. It > gets more interesting when you don't know whether the odd one out > is heavier or lighter. > > > > *Q2* - Everyone who votes yes gets an equal share. Watch those > hands go up . . . > > Or, I get a third share, the first crewman to vote yes gets half > of what's left (ie a third share), the next yes vote gets half of > what's left (ie a sixth share) etc. Now watch those hands go up! > This could provoke a few fights, though, which might reduce the > pool of potential winners - depends if you need the whole crew > afterwards or can get by with a skeleton crew (NPI). > > > > *Q3* - All the women nod their heads because they already knew > this - they all know there are at least 99 unfaithful men in the > village. All the men look sheepish because they all know there's > at least one unfaithful husband. None of the women know for sure > whether their own husbands have been unfaithful but they have to > be wondering so after nodding they all give their own husbands a > very sharp look. > > ----- Original Message ----- > > *From:* Gary T. Benner <mailto:g...@benner.co.nz> > > *To:* delphi@delphi.org.nz <mailto:delphi@delphi.org.nz> > > *Sent:* Friday, January 29, 2010 3:45 PM > > *Subject:* [DUG] Thank God it's Friday ... > > > > HI all, > > This is usually for the Off topic List but I just checked and > many are not registered on that list .... > > So here goes ... here are some questions from a well known > company ... but don't cheat and search online ...try and think > them through. > > *Question 1* > > You have eight balls all of the same size. Seven of them weigh > the same. One of them weighs slightly more. How can you find > the heavier ball by using a balance and only two weighings? > > *Question 2* > > Youre a pirate ship captain, and your crew gets to vote on how > the gold is divided. If fewer than half the pirates agree with > you, you die. How do you recommend apportioning the gold in > such a way that you get a good share of the booty, but still > survive? > > *Question 3* > > Every man in a village of 100 married couples has cheated on > his wife. Every wife in the village instantly knows when a man > other than her husband has cheated, but does not know when her > own husband has. The village has a law that does not allow for > adultery. Any wife who can prove that her husband is > unfaithful must kill him that very day. The women of the > village would never disobey this law. One day, the queen of > the village visits and announces that at least one husband has > been unfaithful. What happens? > > Have a great weekend ... long one for the Auckland bods. > > cheers > > Gary > > List Admin. > > > Gary Benner > Director Semantic Limited <http://www.semantic.co.nz> - > Software Development & Systems Design, Online Education, > e-Commerce > Director 123 Internet Limited <http://www.123.net.nz> - > Managed Web Hosting, Virtualisation, High Availability Systems > & Cluster Technologies > *Mob:* 021 966 992 > *DDI:* +64 7 543 1206 > *Email:* g...@benner.co.nz <mailto:g...@benner.co.nz> > *Skype:* garybenner > > > 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 > > ------------------------------------------------------------------------ > _______________________________________________ > 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 > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 _______________________________________________ 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