any value satisfying 16x=15y. On Wed, Jul 20, 2011 at 12:14 AM, Saket Choudhary <[email protected]> wrote:
> 16x=15y. Multiple solutions. Actually Infinite. > > > On 19 July 2011 23:58, shiv narayan <[email protected]> wrote: > >> There is a temple, whose premises have a garden and a pond. It has 4 >> idols, each of Ram, Shiv, Vishnu and Durga. The priest plucks x >> flowers from the garden and places them in the pond. The number of >> flowers >> doubles up, and he picks y flowers out of them and goes to offer it to >> Lord Ram. By the time he reaches to the pond, he finds the remaining >> flowers also have doubled up in the meantime, so he again picks up y >> from >> the pond and goes to Lord Shiv.This process is repeated till all the >> Gods have y flowers offered to them, such that in the end no flower is >> left in the pond. Find x and y. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- Regards, Kamakshi [email protected] -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
