[algogeeks] Re: SEGMENT TREE: WA

2011-08-02 Thread Amol Sharma
anyone ?? -- Amol Sharma Third Year Student Computer Science and Engineering MNNIT Allahabad On Tue, Aug 2, 2011 at 1:57 PM, Amol Sharma amolsharm...@gmail.com wrote: hi, i attempted the problem http://www.spoj.pl/problems/GSS1/ i have the solved the problem using segment trees.i

[algogeeks] Re: SEGMENT TREE: WA

2011-08-02 Thread amit karmakar
Do you understand the problem properly ? From your code it seems you don't understand the problem. Can you explain the approach that you have implemented? On Aug 2, 5:13 pm, Amol Sharma amolsharm...@gmail.com wrote: anyone ?? -- Amol Sharma Third Year Student Computer Science and

Re: [algogeeks] Re: SEGMENT TREE: WA

2011-08-02 Thread Amol Sharma
ohhh...i misread the readblunder...anyways thnx for pointing it out -- Amol Sharma Third Year Student Computer Science and Engineering MNNIT Allahabad On Tue, Aug 2, 2011 at 7:14 PM, amit karmakar amit.codenam...@gmail.comwrote: Do you understand the problem properly ? From your code