@Balaji : By using Dave's algo it gives TLE and it should be ...try taking n
as large as 10^18.      How did u reduce the no. of iterations in this case
??



On Mon, May 23, 2011 at 9:07 PM, Balaji S <[email protected]> wrote:

> @Dave: nice idea.. ll this give AC ?
>
> --
> 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