Getting Wrong Answers

Hi, Please have a look at my code. I am getting wrong answers.

This is the link - https://ide.codingblocks.com/s/218555

@rkyadavr9 size of array can be 10^5 but you are creating an array of only 100.
If this resolves your doubt mark it as resolved.