In the problem, the life, the universe and everything, I am literally putting the same code as the solution and i have also run the same program in Codeblocks and successfully run yet I am getting runtime error SIGKILL in codechef. I am not able to understand why…Please guide.
when i run the program it says SIGKILL runtime error, whereas when i submit it, it says correct ans. if anybody could explain?
Are you trying to “Run” without Providing “Custom Input”?
yes…i read your link and i executed with custom input, which solves my problem. Thank you.