Code Related Problem

When I give the same sample input in the custom inputs, my code prints the correct answer but when I submit the code it shows wrong answer.

link to my code - https://ide.codingblocks.com/s/67621

@kumar.chaitanya1997 hey chaitanya there is no error in this code try to submit it once again

Hey Chaitanya,
As you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.

Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.