Why it's wrong

can anyone tell me why my code is wrong

Q - Contest Page | CodeChef
ans - Solution: 58946862 | CodeChef