Sorry, you're wrong. Consider board of size N = 1, M = 5 and K = 2. If you round down (N/K) then you have RESULT = 0. If you round up then you have 5. Also wrong.
On 6/17/06, prashant bhargava <[EMAIL PROTECTED]> wrote: > if the question is complete then the answer shd' be (N/K) * M bricks > > am i right?? > > > > On 6/17/06, Norbert < [EMAIL PROTECTED]> wrote: > > > > I'm unable to solve this problem correctly. Please help me: > > You have chess board of size N x M and a lot of bricks of size K x 1. > How many bricks can you place on this board (brick edges must be > pallarel to board edges) > > Thanks for help > > > > Regards, > Prashant Bhargava > ***--***--***--***--***--***--*** > Plz do visit > www.hemantdesign.com/prashant > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
