MBOARD problem

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 CodeChef: Practical coding for everyone
please do also tell how fenwick or binary indexed trees work and how to implement them in problems like MBOARD