Here is my code: http://www.codechef.com/viewsolution/2167540 , it is giving run time error, I have banged my head for several hours, but couldn't find why, I tried to do it with different array sizes (even 200000), but still the run time error. Please help.
↧