Also make sure you don't write this code during a technical interview ... allocating 8 million bytes on the stack is not the way to go.
On Tuesday, June 7, 2011, saurabh singh <[email protected]> wrote: > For all those who are still stuck with TLE,dont preprocess.The test data is > not that large and the time limit small.Just compute each query as it > arrives.I got AC this way only > > On Tue, Jun 7, 2011 at 6:01 PM, kartik sachan <[email protected]> wrote: > https://www.spoj.pl/problems/ETF/ > vase saurabh bhai mere ho gya.............. > > > > -- > 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. > -- Fear of the LORD is the beginning of knowledge (Proverbs 1:7) -- 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.
