runtime error SIGSEGV plzz help!!!!!

http://www.codechef.com/viewsolution/4205254

Hai, one thing you can know is that others can not view some others solutions during a live contest ! so it’s up to you to debug your own code for the time being.So try your self to debug or wait until the contest to end.The below link may help you

http://discuss.codechef.com/questions/7589/why-do-i-get-a-sigsegv

Same here… I have already got too many SIGSEGV.
I have tried everything, but still cant figure out the problem.
I am pretty sure i am not using too much of memory nor am i getting out of bounds…!!
Can someone help?

//