ya i saw that in the comments on spoj someone suggested to use RMQ....can
you explain a bit moe how to implement RMQ and how it is helping in reducing
the time !!

On Fri, Jun 10, 2011 at 5:53 AM, saurabh singh <[email protected]> wrote:

> Use Range Maximum Query.....
>
>
> On Fri, Jun 10, 2011 at 4:15 PM, kartik sachan <[email protected]>wrote:
>
>> how should we get TLE loop total running less than 10^6??
>>
>> --
>> 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.
>>
>
>
>
> --
> Saurabh Singh
> B.Tech (Computer Science)
> MNNIT ALLAHABAD
>
>
>
> --
> 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