Showing Wrong output while submission

Hey, I checked the output of my program many times on my system. Its is showing correct output for all the cases dat I checked. But when I submit it online, it is showing wrong output. Tell me the possible reasons that might be??? Also tell me the way U ppl check the output. My program is in c++ and I have executed it in Codeblocks, which is a gcc compiler. Please reply me fast???

1 Like

@rahulfriends provide a link to your submitted solution so that we can have a look at it.