a divide b while(b!=1){ a <<=1; b <<=1; }
printf("%d\n",a); Wladimir Araujo Tavares *Federal University of CearĂ¡ * On Sun, May 22, 2011 at 1:33 PM, Prakash D IT @ CEG <cegprak...@gmail.com>wrote: > could someone explain the algo with an example? > > > On Sun, May 22, 2011 at 8:21 PM, Puneet Ginoria > <punnu.gino...@gmail.com>wrote: > >> thnxx all.. i got the soln.. >> Qdumanshu: i was asking for quotient and remainder when we divide 2 nos. >> without actually dividing them... >> >> >>> >> -- >> 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. > -- 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.