Could somebody please tell me what do we mean by offline processing of points? And also why was I getting a runtime error in my code http://www.codechef.com/viewsolution/1802839
please do also tell how fenwick or binary indexed trees work and how to implement them in problems like MBOARD