How to solve the problem of the input mismatch expection in the hacker blogs

Sir, I am facing a problem whenever I submit the answer the practice problem compiler is showing
input Miss Exception.Even i have checked my problem in the eclipse it is showing my desire result
.Even when i share my answer to my friend and when he submit my answer in(Hacker blog) his pc.He get desire result. i am confused what is the problem behind this issue