Is there any way to know where Im getting things wrong?

There are some instances where i get the correct solutions on my PC for the given testcases in the question but when i submit the answer,it shows as wrong answer… Is there any way as to know where Im getting the things wrong or for what kind of input Im getting wrong answer…? If not…then it would be very much appreciable if u guys can make some arrangements for that…

//