why am i getting runtime SIGSEGV error ??

why am i getting runtime SIGSEGV error in my code CodeChef: Practical coding for everyone