Run time error (SIGSEGV)

https://www.codechef.com/viewsolution/20524154

why is it showing runtime error ??