Can anyone tell me whats wrong with the code(error - SIGABRT)

link - CodeChef