that's a brute force approach, obviously it won't work. On Fri, Sep 30, 2011 at 12:52 AM, .itoa <nitm...@gmail.com> wrote:
> This is the question : https://hs.spoj.pl/problems/HS11DIVS/ [ Count the > numbers ! - HS11DIVS ] > > And here is my attempt : http://ideone.com/yynjH > > Now , my problem is that the code works fine with small numbers ( even with > 100000000 ) , but with larger number , time limit exceeds. How to make it > more efficient? > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/algogeeks/-/rlMFbiz75hUJ. > 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.