@ myself Dave's solution works fine. I should have close look at it. On Sat, Nov 5, 2011 at 12:17 PM, mohit verma <[email protected]> wrote:
> @ Dave > > I think your solution wont work for the cases like (MAX_INT) C > (MAX_INT-1). > > > On Thu, Nov 3, 2011 at 10:20 PM, <[email protected]> wrote: > >> correction: "if P is prime" >> >> VM >> NSIT, Dwarka >> >> >> On , [email protected] wrote: >> > Use Lucas Theorem is P is prime. >> > >> > VM >> > NSIT, Dwarka >> > >> > On , Dipit Grover [email protected]> wrote: >> > > Thats really cool! Thanks Dave :) >> > > >> > > >> > > >> > > >> > > -- >> > > >> > > 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. >> > > > > -- > Mohit > -- Mohit -- 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.
