try using precomputation in a better way ...this got me AC.. rest is just
binary search function ...!!!

On Thu, Mar 24, 2011 at 9:06 PM, .bashrc <[email protected]> wrote:

> Has anyone solved this problem-https://www.spoj.pl/problems/FACVSPOW/
> I am getting TLE using binary search.
> Thanks in advance
>
> --
> 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.

Reply via email to