Re: [algogeeks] what will be the output
15 times On Sat, Aug 6, 2011 at 7:20 PM, abhishek abhishek.ma...@gmail.com wrote: int x=150 for(y=x;y0;y=(x(y-1)) printf(Hi, There); How many times hi there will be printed? -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
Re: [algogeeks] A SIMPLE QUESTION
for the given criteria,surely K should be equal to one,so distribute the candies in each box to each student... On Mon, May 2, 2011 at 9:06 AM, tillegomezz tille...@gmail.com wrote: I have n boxes each with m candys, I want distributed these candys among k students what is the best way for distribute them such that 1. All students get equal number of candies. 2. All the candies which a student get must be from a single box only. -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
Re: [algogeeks] A SIMPLE QUESTION
sorry K should be equal to N On Thu, May 5, 2011 at 7:56 PM, karthik loganathan karthik.algog...@gmail.com wrote: for the given criteria,surely K should be equal to one,so distribute the candies in each box to each student... On Mon, May 2, 2011 at 9:06 AM, tillegomezz tille...@gmail.com wrote: I have n boxes each with m candys, I want distributed these candys among k students what is the best way for distribute them such that 1. All students get equal number of candies. 2. All the candies which a student get must be from a single box only. -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
Re: [algogeeks] Re: TRICK BRAIN TEASER - MAN ALIVE 3 may
superb question On Wed, May 4, 2011 at 1:57 AM, Dave dave_and_da...@juno.com wrote: The ice was poisoned. He drank the punch early, before enough ice melted to result in a fatal dose. Dave On May 3, 2:40 am, Lavesh Rawat lavesh.ra...@gmail.com wrote: *TRICK BRAIN TEASER MAN ALIVE * * * ** *A man went to a party and drank some of the punch. He then left early. Everyone else at the party who drank the punch subsequently died of poisoning. Why did the man not die ?? * *Update Your Answers at* : * *Click Here http://dailybrainteaser.blogspot.com/2011/05/trick-brain-teaser-man-a... Solution: Will be updated after 1 day -- Never explain yourself. Your friends don’t need it and your enemies won’t believe it . -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.