I am geting wrong answer

https://ide.codingblocks.com/#/s/17623

i think the size of the array is the problem u have only taken 100
what is the output of abc input??