how to solve the codechef problem

until now i have solved 15 problem on codechef but not a single one is got exeucted perfectly
CodeChef: Practical coding for everyone this is my submission link any one help me to improve it plz
thank you!!

This is the problem of ongoing contest. Asking for help while the contest is not over is not allowed and against the rules. Try debugging yourself by studying and learning more about the language you are coding in else wait till the contest is over.